/* Variables couleurs */
:root {
  --clr-primary: #e3b2cc;
  --clr-dark: #222;
  --clr-light: #fff;
  --radius: 8px;
  --transition: 0.3s;
  --font-family: 'Georgia', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--clr-dark);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

.container-banner{
 max-width: 1000px;
  margin: 1% auto;
  padding: 5% 1rem;
  background-color: rgba(255, 230, 202, 0.774);
  font-size: 24px;
  border: 2px dashed #333;
  border-radius: 25px;
   position: relative; /* important pour le positionnement absolu */

}

.container-banner::after {
  content: "";
  position: absolute;
  bottom: -46px;  /* coin bas droit */
  right: -10px;
  width: 70px;
  height: 70px;
  background-image: url('img/scissor.png'); /* chemin vers ton icône de ciseaux */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6; /* discrétion */
  pointer-events: none; /* ne gêne pas le clic */
}


.container-banner h1{
  font-size: 32px;
}

.container-banner a{
  font-size: 18px;
}


/* Header */
.side-nav {
  position: fixed;
  top: 25%;
  left: 0;
  transform: translateY(-50%);
  background: rgba(255, 230, 202, 0.774);
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  transition: width 0.3s;
  width: 100px;
  border-width: 2px;
  border-style: dashed;
  border-color: #333;
  border-left: none; /* supprime la bordure gauche */
  z-index: 2;
}

.side-nav:hover {
  width: 180px;
}

.side-nav a {
  display: flex;
  align-items: center;
  padding: 2rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.side-nav a img {
  background-color: #ffffffc5;
  border-radius: 10px;
}

.side-nav a span {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: bold;
  /* color: white; */
}

.side-nav:hover a span {
  opacity: 1;
}

.icon {
  width: 48px;
  height: 48px;
  margin-right: 0.5rem;
  padding: 10px;
}

.scissors{
  position: fixed;
  top: 42%;
  left: 71.3%;
  width: 78px;
  height: 78px;
}

@media screen and (max-width: 500px) {

.container-banner h1{
  font-size: 28px;
}

.container-banner p{
  font-size: 18px;
}

.hero {
  height: 360px !important;
}

}


@media screen and (max-width: 1300px) {
  .side-nav {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    transform: none;
    border-radius: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    transition: none !important;
    border-style: none;
  }

  .side-nav a {
    flex-direction: column;
    padding: 0.5rem;
    transition: none !important;
  }

  .side-nav a span {
    display: none;
  }

  .side-nav:hover {
    width: 100% !important;
    transition: none !important;
  }

  .container-banner {
  margin: 5%;
}

 body {
    padding-bottom: 50px; /* hauteur suffisante pour laisser respirer le footer */
  }

}


/* Hero */
.hero {
  background-image: url("img/BannerSite1.jpg");
  height: 500px;
  padding: 4rem 0;
  text-align: center;

}
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--clr-light);
  color: var(--clr-dark);
  border-radius: var(--radius);
  text-decoration: none;
  margin-top: 1rem;
  transition: background var(--transition);
}
.btn-primary:hover {
  background: #111;
}

/* ───────────────────────────────────── */
/* Services – Section                    */
/* ───────────────────────────────────── */
#services {
  padding: 4rem 1rem;
  background-color: #fffaf6;
}

#services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #333;
}

/* Badge */
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ff9f43;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Grid */
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card style */
.service {
  background: rgba(255, 230, 202, 0.35);
  border: 2px dashed #d9b99b;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.service:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 230, 202, 0.5);
}

.service .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.service p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.price {
  font-weight: bold;
  color: #222;
  margin-top: 0.5rem;
}



/* ───────────────────────────────────── */
/* Portfolio – Quelques réalisations     */
/* ───────────────────────────────────── */
.container-portfolio {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}


/* ------ STYLE DESKTOP ------ */
.portfolio-freestyle {
  background: #fdf8f4;
  padding: 5rem 1rem;
  border-top: 2px dashed #e6c7a3;
}

.portfolio-freestyle h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-family: var(--font-family);
  color: #2b2b2b;
}

.gallery-freestyle {
  display: flex;
  flex-wrap: nowrap;
  width: max-content; /* <<< force la galerie à s'étendre selon le contenu */
  gap: 1rem;
}

.photo-item {
  background: white;
  padding: 0.4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.photo-item img {
  width: 220px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.photo-item:hover {
  transform: scale(1.05) rotate(0deg);
}

/* Rotations */
.rotate-left    { transform: rotate(-5deg); }
.rotate-right   { transform: rotate(5deg); }
.rotate-small   { transform: rotate(2deg); }

/* Décalages */
.offset-top     { margin-top: -30px; }
.offset-mid     { margin-top: 10px; }
.offset-bottom  { margin-top: 40px; }

/* ------ MOBILE CAROUSEL ------ */
@media screen and (max-width: 768px) {
  .gallery-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-freestyle {
    flex-wrap: nowrap;
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

.photo-item {
    scroll-snap-align: start;
    flex: 0 0 80%; /* largeur fixe */
    max-width: 300px;
  }
  .photo-item img {
    width: 100%;
  }
}


/* SECTION SPONSOR BUBBLE */
.sponsors-bubble {
  background-image: url(assets/backgroundSponsor.png);
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.sponsors-bubble h2 {
  position: relative;
  z-index: 2;
  background: #fffaf6;
  display: inline-block;
  padding: 0 1rem;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #333;
}

/* Force le container à prendre toute la largeur sans marges internes */
.sponsors-bubble .container {
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Zone des bulles */
.sponsor-bubbles {
  position: relative;
  height: 250px;
  width: 100%;
  z-index: 1;
}

/* Style général des bulles */
.bubble {
  position: absolute;
  border-radius: 50%;
  padding: 1rem; /* augmenté pour une bordure plus douce */
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  max-width: 200px; /* taille augmentée depuis 150px */
}


/* Effet au survol */
.bubble:hover {
  transform: scale(1.5) rotate(5deg);
  z-index: 3;
}

/* Positionnement Desktop */
.b1 { top: 0; left: 10%; }
.b2 { top: 40px; left: 25%; }
.b3 { top: 0px; left: 40%; }
.b4 { top: 100px; left: 55%; }
.b5 { top: 100px; left: 70%; }
.b6 { top: 15px; left: 80%; }

/* Responsive : layout fluide et aligné */
@media screen and (max-width: 768px) {
  .sponsor-bubbles {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
  }

  .bubble {
    position: static;
    margin: 0.5rem;
    max-width: 120px;
    transform: none !important;
  }

  .bubble:hover {
    transform: scale(1.4) rotate(3deg);
  }
}

/*CONTACT */
.contact {
  background-color: #fff6f0;
  padding: 5rem 1rem;
  border-top: 2px dashed #e0c4a3;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-family);
  color: #2b2b2b;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-family);
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fffaf6;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f0b77b;
  box-shadow: 0 0 0 2px rgba(240, 183, 123, 0.2);
}

.btn-primary {
  padding: 1rem;
  background-color: #f0b77b;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #e79e57;
}


/* Footer */
.site-footer {
  background-color: #fffaf6;
  border-top: 2px dashed #e0c4a3;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #6b4f3b;
}

.footer-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.site-footer strong {
  color: #b87b47;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #b87b47;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.3rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e79e57;
}



/* COOKE */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fef0e9;
  color: #333;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 9999;
  font-size: 0.95rem;
}

.cookie-banner button {
  margin-left: 1rem;
  padding: 0.4rem 1rem;
  background-color: #d9b99b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-banner a {
  color: #444;
  text-decoration: underline;
}
