/* =========================================================
   AxoriaWeb – STYLES.CSS (version nettoyée & organisée)
   ---------------------------------------------------------
   - Aucune modification visuelle
   - Doublons supprimés / règles groupées
   - Media queries ordonnées par section
   - Commentaires FR pour maintenance
========================================================= */

/* ==================== FONTS & BASE ==================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');

/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333333;
  background: #FFFFFF;
}

a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================== HEADER ==================== */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo a {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #0D3B66;
}
.site-nav ul { display: flex; list-style: none; }
.site-nav li + li { margin-left: 1.5rem; }
.site-nav a { padding: 0.5rem; font-weight: 500; transition: color 0.3s; }
.site-nav a:hover { color: #9B5DE5; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; }

/* ==================== ANIMATIONS GLOBALES ==================== */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatBubble {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(15px, -50px) scale(1.1); opacity: 0.5; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatZoom {
  0%   { transform: translateY(-50%) translateY(0)    scale(1); }
  50%  { transform: translateY(-50%) translateY(-15px) scale(1.05); }
  100% { transform: translateY(-50%) translateY(0)    scale(1); }
}

/* ==================== HERO – UNIFORMISATION ==================== */
/* Règles communes à tous les héros */
.hero,
.hero-realisations,
.hero-services,
.hero-contact,
.hero-mentions {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  height: 300px;               /* base uniforme */
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0D3B66, #1E6091, #9B5DE5);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
  padding-top: 0 !important;   /* évite variations */
  font-family: 'Montserrat', sans-serif;
}
.hero .container,
.hero-realisations .hero-container,
.hero-services .container,
.hero-contact .container,
.hero-mentions .container {
  transform: translateY(0) !important;
  max-width: 850px;
  padding: 0 20px;
}
.hero h1,
.hero-realisations h2,
.hero-services h1,
.hero-contact h1,
.hero-mentions h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero p,
.hero-realisations p,
.hero-services p,
.hero-contact p,
.hero-mentions p {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0 auto;
  max-width: 800px;
}

/* Accueil — hero plus grand */
.hero { height: 650px !important; }

/* Décors communs */
.hero-circle {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05); z-index: 1;
}
.hero-circle.circle1 { width: 120px; height: 120px; top: 20px; left: 30px; }
.hero-circle.circle2 { width: 200px; height: 200px; bottom: 20px; right: 50px; }

/* Bulles animées (accueil) */
.hero-bubble {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.3);
  z-index: 1; animation: floatBubble linear infinite;
}
.hero-bubble.bubble1 { width: 40px; height: 40px; top: 50px; left: 30px; animation-duration: 12s; }
.hero-bubble.bubble2 { width: 25px; height: 25px; top: 100px; left: 200px; animation-duration: 10s; }
.hero-bubble.bubble3 { width: 30px; height: 30px; top: 150px; left: 350px; animation-duration: 15s; }
.hero-bubble.bubble4 { width: 20px; height: 20px; top: 80px; left: 500px; animation-duration: 8s; }
.hero-bubble.bubble5 { width: 35px; height: 35px; top: 60px; right: 40px; animation-duration: 14s; }
.hero-bubble.bubble6 { width: 20px; height: 20px; top: 120px; right: 90px; animation-duration: 10s; }
.hero-bubble.bubble7 { width: 25px; height: 25px; top: 180px; right: 150px; animation-duration: 16s; }
.hero-bubble.bubble8 { width: 30px; height: 30px; top: 90px; right: 200px; animation-duration: 12s; }

/* Vague / séparateur bas de hero */
.hero-separator { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; pointer-events: none; z-index: 1; }
.hero-separator path { fill: #fff; }

/* Variantes spécifiques */
.hero-realisations,
.hero-services,
.hero-contact,
.hero-mentions { height: 300px !important; }
.hero-realisations .hero-container { width: 100%; max-width: 1200px; padding: 0 20px; box-sizing: border-box; }
.hero-realisations h2 { font-size: 2rem; margin-bottom: 1rem; }
.hero-realisations .sous-texte { font-size: 1.2rem; margin-top: 0.5rem; color: rgba(255,255,255,0.9); line-height: 1.6; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-services h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.hero-services p { font-size: 1.25rem; max-width: 700px; margin: 0 auto; line-height: 1.6; }

.hero-contact h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.hero-contact p  { font-size: 1.2rem; max-width: 700px; margin: 0 auto; }

.hero-mentions h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 0.8rem; }

/* ==================== BOUTONS ==================== */
.btn-secondary {
  background: linear-gradient(135deg, #9B5DE5, #0D3B66);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid transparent;
  opacity: 0; transform: translateY(20px);
  animation: slideInUp 1s ease forwards; animation-delay: 1.5s;
}
.btn-secondary:hover { background: linear-gradient(135deg, #8A63D2, #1E6091); transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-secondary:focus { border: 2px solid #9B5DE5; outline: none; }

.btn-contact {
  display: inline-block;
  background: linear-gradient(135deg, #9B5DE5, #0D3B66);
  color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1.1rem; padding: 0.9rem 2rem; border-radius: 50px;
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-contact:hover { background: linear-gradient(135deg, #8A63D2, #1E6091); transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* ==================== SECTIONS GÉNÉRALES ==================== */
.section { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 0; }
.section h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 2rem; font-size: 2rem; color: #0D3B66;
  border-bottom: 3px solid #9B5DE5; display: inline-block; padding-bottom: 8px;
}

.services-note { font-style: italic; text-align: center; margin-top: 1rem; color: #333333; font-size: 1rem; }

/* Texte ‘Pourquoi choisir…’ + liste numérotée */
.textea {
  font-family: 'Montserrat', sans-serif; font-size: 2.6rem; font-weight: 700; text-align: center;
  background: linear-gradient(90deg, #0D3B66, #9B5DE5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin: 2rem 0;
}
.texteb-list {
  list-style: none; padding-left: 0; margin: 2rem auto; max-width: 600px;
  transform: translateX(40px);
  font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 1.5rem; color: #0D3B66;
}
.texteb-list li {
  display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 1rem;
  margin-bottom: 1.2rem; font-size: 1.5rem; color: #0D3B66;
}
.texteb-list .numero {
  display: flex; justify-content: center; align-items: center;
  width: 35px; height: 35px; background-color: #0D3B66; color: #fff; font-weight: 700; border-radius: 50%;
}
.texted {
  font-weight: 500; font-size: 1.1rem; color: #0D3B66; text-align: center;
  margin: 2rem auto; max-width: 700px; line-height: 1.6;
}

/* CTA "Contactez-nous" */
.boutoncontact {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  margin: 5rem 0 3rem 0; flex-wrap: wrap;
}
.textec { font-weight: 500; font-size: 1.5rem; color: #0D3B66; margin: 0; line-height: 1.6; text-align: left; }

/* Séparateur */
.section-divider {
  width: 45%; height: 3px; border: none; margin: 3rem auto;
  background: linear-gradient(90deg, #9B5DE5, #0D3B66); border-radius: 15px; opacity: 0.3;
}

/* ==================== SERVICES (cartes) ==================== */
.services-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-item {
  border: 1px solid #9B5DE5; border-radius: 8px; padding: 1.5rem; text-align: center; background: #FFFFFF;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.service-item h3 { font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; color: #1E6091; }

/* ==================== CAROUSEL ==================== */
.carousel {
  overflow: hidden; width: 100%; max-width: 900px; height: 400px;
  margin: 0 auto; border-radius: 12px; position: relative;
}
.slides { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* ==================== CTA RÉALISATIONS ==================== */
.realisations-cta { display: flex; align-items: center; justify-content: center; margin-top: 2rem; gap: 1.5rem; }
.realisations-cta .arrow svg {
  width: 80px; height: auto; opacity: 0; transform: translateX(-20px);
  stroke: #9B5DE5; animation: slideInLeft 1s ease forwards, pulse 1.5s infinite; animation-delay: 1s, 2s;
}
/* CTA Réalisations — alignement parfait */
.cta-devis {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Texte */
.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0D3B66;
  margin: 0;
}

/* Conteneur flèche + bouton */
.cta-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Flèche — taille maîtrisée */
.cta-arrow svg {
  width: 40px;
  height: auto;
  opacity: 1;
  transform: none;
  animation: none !important; /* Virer l’animation */
}

/* Bouton — sans animation d’entrée */
.cta-btn {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}



/* ==================== GRILLE PROJETS ==================== */
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem;
  max-width: 1500px; margin: 2rem auto 0;
}
.project-item img {
  width: 100%; height: auto; border-radius: 8px; transition: transform 0.3s, box-shadow 0.3s;
}
.project-item h3 {
  margin-top: 1rem; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; color: #0D3B66;
  text-align: center; transition: transform 0.3s, color 0.3s;
}
.project-item img:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.project-item:hover h3 { transform: translateY(-3px); color: #9B5DE5; }

/* ==================== SECTION APPROCHE ==================== */
.approche { background: #fff; padding-bottom: 10px; }
.approche h2 { font-family: 'Montserrat', sans-serif; color: #0D3B66; font-size: 2rem; text-align: center; margin-bottom: 2.5rem; border-bottom: 3px solid #9B5DE5; display: inline-block; padding-bottom: 8px; }
.texte-approche { max-width: 850px; margin: 0 auto; text-align: justify; line-height: 1.8; font-size: 1.1rem; color: #333; }
.texte-approche strong { color: #1E6091; }
.texte-approche em { color: #9B5DE5; font-style: normal; font-weight: 500; }

/* ==================== CRÉATION ==================== */
.creation { background: #F9F9FF; padding: 80px 0; }
.creation h2 { font-family: 'Montserrat', sans-serif; color: #0D3B66; font-size: 2rem; text-align: center; margin-bottom: 3rem; border-bottom: 3px solid #9B5DE5; display: inline-block; padding-bottom: 8px; }
.creation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; align-items: stretch; }
.creation-item {
  background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 12px; padding: 2rem; text-align: center;
  transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; justify-content: space-between;
}
.creation-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.creation-icon { font-size: 2.5rem; margin-bottom: 1rem; color: #9B5DE5; }
.creation-item h3 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; color: #1E6091; margin-bottom: 1rem; }
.creation-item p { font-size: 1rem; line-height: 1.6; color: #333; }

/* ==================== TARIFS ==================== */
.tarifs { background: #f9f9ff; padding: 80px 0; }
.tarifs h2 { font-family: 'Montserrat', sans-serif; color: #0D3B66; text-align: center; font-size: 2rem; border-bottom: 3px solid #9B5DE5; display: inline-block; padding-bottom: 8px; margin-bottom: 3rem; }
.packs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pack-item {
  background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 2rem; text-align: left; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pack-item:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.pack-item h3 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; color: #1E6091; margin-bottom: 0.5rem; }
.pack-item .price { font-weight: 700; color: #9B5DE5; margin-bottom: 0.5rem; }
.pack-item .desc { font-size: 0.95rem; margin-bottom: 1rem; color: #555; line-height: 1.5; }
.pack-item ul { list-style: none; margin-bottom: 1rem; padding: 0; }
.pack-item ul li { padding: 5px 0; border-bottom: 1px solid #eee; }
.pack-item .options { margin-top: 0.5rem; font-weight: 600; color: #0D3B66; }
.pack-item.popular { border: 2px solid #9B5DE5; box-shadow: 0 0 20px rgba(155, 93, 229, 0.1); }
.badge {
  position: absolute; top: -12px; right: 16px; background: linear-gradient(90deg, #9B5DE5, #0D3B66);
  color: #fff; font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 50px;
}

/* ==================== HÉBERGEMENT / DEVIS INFO ==================== */
.devis-info { background: #fff; padding: 60px 0; text-align: center; }
.devis-info h2 { font-family: 'Montserrat', sans-serif; color: #0D3B66; font-size: 1.8rem; margin-bottom: 1.5rem; border-bottom: 3px solid #9B5DE5; display: inline-block; padding-bottom: 6px; }
.devis-info p { max-width: 900px; margin: 0.8rem auto; font-size: 1.05rem; color: #333; line-height: 1.8; }
.devis-info strong { color: #1E6091; }

/* ==================== PAGE CONTACT – BLOCS HAUT ==================== */
.contact-form { background: #fff; padding: 5px 0; text-align: center; position: relative; overflow: hidden; }
.deco { position: absolute; top: 50%; transform: translateY(-50%); opacity: 0.2; width: 280px; pointer-events: none; z-index: 0; animation: floatZoom 7s ease-in-out infinite; transform-origin: center; }
.deco-left { left: 5%; } .deco-right { right: 5%; animation-delay: 2s; }
.contact-form .container { position: relative; z-index: 1; }

.contact-wrapper {
  width: 95%; max-width: 1100px; margin: 3rem auto; padding: 2rem 2.5rem;
  display: flex; justify-content: space-between; gap: 2.5rem;
  background: #F9F9FF; border-radius: 16px; border: 1px solid #E5E5F7;
}
.contact-block { flex: 1; }
.contact-block h3 { font-size: 1.6rem; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; color: #0D3B66; }

.contact-benefits { list-style: none; padding-left: 0; }
.contact-benefits li {
  font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; line-height: 1.5;
  display: flex; align-items: center; transition: transform .25s ease, color .25s ease;
}
.contact-benefits li:hover { transform: translateX(6px); color: #9B5DE5; }
.icon-check {
  width: 20px; height: 20px; display: inline-block; margin-right: 10px; vertical-align: middle;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%239B5DE5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.285 6.709l-11.435 11.435-5.657-5.657 1.414-1.414 4.243 4.243 10.021-10.021z"/></svg>');
  background-size: contain; background-repeat: no-repeat;
}

.contact-rgpd, .contact-subtext { text-align: center; max-width: 700px; margin: 0.8rem auto; color: #0D3B66; }
.contact-rgpd { font-size: 1rem; opacity: 0.85; margin-top: 1rem; }
.contact-subtext { font-size: 1.15rem; line-height: 1.6; margin-bottom: 50px; display: block; }

.contact-logo {
  width: 120px; margin: 10px auto 0; opacity: 0.9; display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.contact-logo:hover { transform: scale(1.07); opacity: 1; }

/* ==================== PAGE CONTACT – FORMULAIRES ==================== */
.contact-buttons {
  display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.contact-buttons button {
  background: none; border: 2px solid #9B5DE5; color: #9B5DE5;
  padding: 0.7rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}
.contact-buttons button.active, .contact-buttons button:hover { background: linear-gradient(135deg, #9B5DE5, #0D3B66); color: #fff; }

.formulaire { display: none; max-width: 600px; margin: 0 auto; text-align: left; }
.formulaire.active { display: block; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.4rem; color: #0D3B66; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.8rem; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; font-family: 'Roboto', sans-serif; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: #9B5DE5; outline: none; }

.success-msg {
  display: none; opacity: 0; background: #EAF6FF; color: #0D3B66; padding: 1rem 1.5rem;
  border-left: 5px solid #9B5DE5; border-radius: 6px; margin-top: 1.5rem; font-weight: 600; font-size: 1rem; transition: opacity 0.6s ease-in-out;
}
.success-msg.show { display: block; opacity: 1; }

/* ==================== MENTIONS LÉGALES ==================== */
.mentions-header {
  background: linear-gradient(135deg, #0D3B66, #1E6091, #9B5DE5);
  background-size: 300% 300%; animation: gradientShift 15s ease infinite;
  text-align: center; padding: 100px 0 80px; border-bottom: 3px solid #9B5DE5; color: #fff; position: relative; overflow: hidden;
}
.mentions-header h1 {
  font-family: 'Montserrat', sans-serif; font-size: 2.2rem; color: #4e6d89;
  display: inline-block; border: 2px solid #9B5DE5; padding: 0.7rem 2rem; border-radius: 8px; background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.hero-mentions { height: 300px !important; }
.hero-mentions .sous-texte { font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); line-height: 1.5; }
.mentions-content { text-align: center; padding: 60px 0; }
.mentions-content h2 {
  margin-top: 2rem; color: #0D3B66; font-family: 'Montserrat', sans-serif; border-bottom: 2px solid #9B5DE5;
  display: inline-block; padding-bottom: 6px; margin-bottom: 1rem;
}
.mentions-content p, .mentions-content ul { margin-bottom: 1.2rem; line-height: 1.7; color: #333; font-size: 1.05rem; }
.mentions-content ul { list-style: none; padding: 0; }
.mentions-content ul li::before { content: "• "; color: #9B5DE5; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: #0D3B66; color: #FFFFFF; text-align: center; padding: 1.5rem 0;
}
.site-footer p { margin: 0.5rem 0; }
.site-footer a { color: #9B5DE5; font-weight: 500; transition: color 0.3s; }
.site-footer a:hover { color: #FFFFFF; }

/* =========================================================
   RESPONSIVE
========================================================= */

/* --- 1024px --- */
@media (max-width: 1024px) {
  .contact-wrapper { flex-direction: column; align-items: center; gap: 2rem; }
  .contact-block { width: 100%; max-width: 500px; }
  .contact-block h3 { font-size: 1.4rem; }
  .contact-block p, .contact-block ul li { font-size: 1.05rem; }
}

/* --- 900px (services / creation / tarifs) --- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
  .service-item { padding: 1.3rem; }
  .service-item h3 { font-size: 1.1rem; }
  .service-item p { font-size: 0.95rem; }

  .creation-grid { gap: 1.5rem; }
  .creation-item { padding: 1.5rem 1.3rem; }
  .creation-item h3 { font-size: 1.2rem; }
  .creation-item p { font-size: 1rem; }

  .packs-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .pack-item { padding: 1.5rem 1.2rem; }
  .pack-item h3 { font-size: 1.25rem; }

  .cta-devis { padding: 0 15px; }
  .cta-btn { font-size: 1rem; padding: 0.9rem 2rem; }
  .cta-title { font-size: 1.4rem; }
}

/* --- 850px (contact – grid en 1 col) --- */
@media (max-width: 850px) {
  .info-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-rgpd, .contact-subtext { font-size: 1.15rem; }
}

/* --- 768px (mobile) --- */
@media (max-width: 768px) {
  /* Nav mobile */
  .site-nav {
    position: absolute; top: 70px; left: 0; right: 0; background: #FFFFFF; flex-direction: column; display: none; border-bottom: 1px solid #e0e0e0;
  }
  .site-nav.open { display: flex; }
  .site-nav li + li { margin-left: 0; }
  .nav-toggle { display: block; }

/* Badge sur mobile */
.badge-devis {
  width: 85px;
  height: 85px;
  top: 5%;
  right: 3%;
  font-size: 0.75rem;
  border: 3px dashed #ffffff;
  transform: rotate(10deg) scale(1);
  box-shadow:
    0 0 0 5px rgba(255,255,255,0.4),
    0 4px 12px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .badge-devis {
    right: 20px; /* au lieu de 10px */
  }
}

  /* Hero tailles */
  .hero,
  .hero-realisations,
  .hero-services,
  .hero-contact,
  .hero-mentions { height: 230px !important; }
  .hero { height: 450px !important; } /* Accueil + grand */

  .hero h1,
  .hero-realisations h2,
  .hero-services h1,
  .hero-contact h1,
  .hero-mentions h1 { font-size: 1.7rem; }
  .hero p,
  .hero-realisations p,
  .hero-services p,
  .hero-contact p,
  .hero-mentions p { font-size: 0.95rem; max-width: 90%; }

  .hero-circle.circle1 { width: 80px; height: 80px; top: 10px; left: 10px; }
  .hero-circle.circle2 { width: 120px; height: 120px; bottom: 10px; right: 20px; }

  /* Services (home) */
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; max-width: 450px; margin: 0 auto; }
  .service-item { padding: 1.3rem; }
  .hero .container h1 { line-height: 1.3; }
  .btn-secondary { font-size: 1rem; padding: 0.8rem 1.7rem; }

  /* Texte “Pourquoi choisir” */
  .textea { font-size: 2.1rem; margin-top: 2rem; }
  .texteb-list { transform: none; font-size: 1.2rem; max-width: 95%; }
  .texteb-list li { grid-template-columns: 32px 1fr; font-size: 1.2rem; }
  .texted { padding: 0 1.5rem; font-size: 1rem; }

  /* CTA home */
  .boutoncontact { gap: 1.2rem; text-align: center; }
  .textec { font-size: 1.2rem; text-align: center; }
  .btn-contact { font-size: 1rem; padding: 0.8rem 1.8rem; }

  /* Carousel */
  .carousel { height: 250px; border-radius: 10px; }
  .slide img { object-fit: cover; }

  /* Espacements sections */
  section.section { padding: 60px 0; }
  .section-divider { margin: 2rem auto; }

  /* Réalisations */
  .hero-realisations h2 { font-size: 1.6rem; line-height: 1.3; padding: 0 10px; }
  .hero-realisations .sous-texte { font-size: 0.95rem; padding: 0 15px; }

  .projects-grid { grid-template-columns: 1fr; gap: 1.4rem; max-width: 450px; margin: 0 auto; }
  .project-item h3 { font-size: 1rem; }
  .preal { font-size: 0.95rem; padding: 0 15px; margin-top: 1.2rem; }

  /* Contact – décorations off */
  .deco { display: none !important; }

  /* Contact – boutons sur une ligne (compact) */
  .contact-buttons { flex-direction: row !important; justify-content: center; gap: 0.5rem; flex-wrap: nowrap; }
  .contact-buttons button { width: auto; padding: 0.6rem 1rem; font-size: 0.9rem; }

  /* Contact – formulaires & textes */
  .hero-contact { height: 240px; }
  h2 { font-size: 1.6rem !important; }
  .contact-buttons { /* fallback column si besoin */ }
  #form-contact, #form-devis { margin-top: 1rem; }
  .contact-rgpd, .contact-subtext { max-width: 90%; margin-left: auto; margin-right: auto; font-size: 1rem; }
  .contact-subtext { margin-bottom: 2.5rem; }

  /* CTA: masquer flèche sur mobile */
  .cta-arrow { display: none !important; }

  /* Mentions header */
  .mentions-header { padding: 60px 0 40px; }
  .mentions-header h1 { font-size: 1.8rem; padding: 0.6rem 1.5rem; }
}

/* =========================================================
   Overrides spécifiques Accueil – texte hero plus grand
   (si tu ajoutes .home sur la section hero de index.html)
========================================================= */
.hero.home h1 { font-size: 3.5rem !important; line-height: 1.25; }
.hero.home p  { font-size: 1.4rem !important; max-width: 850px; }
@media (max-width: 768px) {
  .hero.home h1 { font-size: 2.3rem !important; }
  .hero.home p  { font-size: 1.15rem !important; }
}
@media (max-width: 768px) {
  .badge-devis {
    right: 6px !important;          /* plus près du bord droit => vers la droite */
    /* Optionnel : micro décalage visuel supplémentaire */
    transform: rotate(12deg) translateX(6px) !important;
  }
}

/*-------------- Modifications / ajustements  ---------------*/

/* Ajustement bouton Hero accueil */
.hero .btn-secondary {
  margin-top: 25px !important;
}
.hero p {
  margin-bottom: 18px;
}

/* Texte fin de page Réalisation avant footer */
.preal {
  margin-top: 50px !important;
    font-size: 1.3rem;
  font-weight: 500;
  color: #1E6091;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-align: center;
}
/* Ajustement vertical des héros secondaires */
.hero-realisations .hero-container,
.hero-services .container,
.hero-contact .container,
.hero-mentions .container {
  transform: translateY(-18px) !important; /* tweak -12 to -24px to taste */
}
/* ajustement de la taille du hero responsvie page réalisation */
@media (max-width: 768px) {
  .hero-realisations {
    height: 230px !important;
  }
}

/* Augmenter l'epsace entre le formulaire et le footer ( page contact ) */
.formulaire.active {
  margin-bottom: 70px;
}

/* Badge Devis Gratuit Hero index.html */
.badge-devis {
  position: absolute;
  top: 10%;
  right: 6%;
  z-index: 5;

background: linear-gradient(135deg, #9B5DE5 0%, #1E6091 100%);

  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 1rem;

  padding: 12px 18px;
  border-radius: 50%;
  width: 120px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;

  /* Effet autocollant */
  border: 4px dashed #ffffff;
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.4),
    0 6px 15px rgba(0, 0, 0, 0.25);

  /* Effet légèrement penché */
  transform: rotate(12deg) scale(0.4);
  opacity: 0;
  animation: stickerDrop 1.2s ease forwards;
  animation-delay: 1.2s;
}

/* Animation d’apparition collée au bouton du Hero */
@keyframes stickerDrop {
  0% {
    transform: translateY(-40px) rotate(0deg) scale(0.2);
    opacity: 0;
  }
  70% {
    transform: translateY(5px) rotate(18deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(0px) rotate(12deg) scale(1);
    opacity: 1;
  }
}
/* Message erreur formulaire si erreur */
.success-msg.error {
  background: #ffe5e5 !important;
  color: #c20000 !important;
  border-left-color: #ff4d4d !important;
}

/*  Vignette adaptée pour responsive */
@media (max-width: 768px) {
  .badge-devis {
    position: absolute;
    top: 8%;
    right: 5%;
    width: 90px;
    height: 90px;
    font-size: 0.8rem;
    line-height: 1.1;
    padding: 10px;
    background: linear-gradient(135deg, #9B5DE5 0%, #1E6091 100%);
    color: #fff;
    border: 3px dashed #ffffff;
    border-radius: 50%;
    box-shadow:
      0 0 0 6px rgba(255,255,255,0.4),
      0 4px 12px rgba(0,0,0,0.25);
    transform: rotate(10deg) scale(1); /* ✅ visible taille normale */
    opacity: 1; /* ✅ visible */
    animation: none; /* pas d’animation pour la stabilité */
    z-index: 5;
  }

  .badge-devis br {
    display: block; /* conserve le retour à la ligne */
  }
}

/* Suite pour le formulaire */ 
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #0D3B66;
}
.checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: #9B5DE5;
  cursor: pointer;
}
.checkbox-group a {
  color: #9B5DE5;
  text-decoration: underline;
}
/* ====== STYLE UNIFIÉ DES MENUS DÉROULANTS ====== */
form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
  appearance: none; /* supprime la flèche native */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%239B5DE5' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}

/* Effet focus et hover */
form select:hover {
  border-color: #9B5DE5;
  box-shadow: 0 0 5px rgba(155, 93, 229, 0.3);
}

form select:focus {
  border-color: #9B5DE5;
  box-shadow: 0 0 8px rgba(155, 93, 229, 0.4);
  outline: none;
}

/* Style cohérent dans le formulaire */
.form-group select {
  background-color: #fff;
}

/* Sur mobile (petit ajustement de padding) */
@media (max-width: 768px) {
  form select {
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
  }
}
/* ==================== AVIS CLIENTS ==================== */
.avis {
  background: #F9F9FF;
  padding: 80px 0;
  text-align: center;
}

.avis h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #0D3B66;
  margin-bottom: 2.5rem;
  border-bottom: 3px solid #9B5DE5;
  display: inline-block;
  padding-bottom: 8px;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.avis-item {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.avis-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.etoiles {
  color: #FFD700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.avis-texte {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.avis-nom {
  color: #1E6091;
  font-weight: 600;
  margin-top: 0.5rem;
}
/* ==================== SECTION RESPONSIVE DESIGN ==================== */
.responsive {
  background: #fff;
  padding: 80px 0;
}

.responsive-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.responsive-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.responsive-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #0D3B66;
  margin-bottom: 1rem;
  border-bottom: 3px solid #9B5DE5;
  display: inline-block;
  padding-bottom: 8px;
}

.responsive-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

.responsive-image {
  flex: 1;
  min-width: 320px;
  text-align: center;
}

.responsive-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.responsive-image img:hover {
  transform: scale(1.03);
}

/* --- Adaptation mobile --- */
@media (max-width: 900px) {
  .responsive-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .responsive-text {
    text-align: center;
  }
  .responsive-text h2 {
    font-size: 1.7rem;
  }
  .responsive-image img {
    max-width: 350px;
  }
}
/* ==================== Ajustement espace page Contact ==================== */
@media (max-width: 768px) {
  .hero-contact {
    height: 230px !important; /* hauteur correcte sur mobile */
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
  }

  .contact-form {
    margin-top: -10px !important; /* léger chevauchement contrôlé */
    padding-top: 0 !important;
  }

  .contact-wrapper {
    margin-top: 0.8rem !important; /* petit espace respirant */
  }
}



/* ==================== FOND GRIS POUR SECTION RÉALISATIONS ==================== */
.realisations {
  background-color: #f9f9f9; /* gris très doux */
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* ===== MENU LATÉRAL DROIT (uniquement sur mobile) ===== */
@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%; /* caché hors écran à droite */
    left: auto; /* on neutralise tout left */
    height: 100%;
    width: 70%;
    background: #fff;
    flex-direction: column;
    align-items: center; /* centrage horizontal */
    justify-content: flex-start;
    padding: 80px 25px;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2); /* ombre à gauche (puisqu’il vient de la droite) */
    transition: right 0.35s ease;
    z-index: 1000;
    display: flex;
    text-align: center;
  }

  /* Quand le menu s’ouvre */
  .site-nav.open {
    right: 0; /* glisse depuis la droite */
    left: auto;
  }

  .site-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .site-nav li {
    width: 100%;
    margin: 20px 0;
  }

  .site-nav a {
    font-size: 1.3rem;
    color: #0D3B66;
    font-weight: 600;
    display: block;
    width: 100%;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .site-nav a:hover {
    color: #9B5DE5;
  }

  /* Overlay sombre derrière le menu */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Bouton menu au-dessus */
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0D3B66;
    cursor: pointer;
  }

  /* Ajustement du header */
  .site-header .container {
    justify-content: space-between;
    align-items: center;
  }
}

/* === Version desktop normale === */
@media (min-width: 769px) {
  .site-nav {
    position: static;
    flex-direction: row;
    background: none;
    height: auto;
    width: auto;
    box-shadow: none;
    transition: none;
  }

  .nav-overlay {
    display: none;
  }

  .nav-toggle {
    display: none;
  }
}
/* =========================
   SECTION RESPONSIVE - MOBILE
   ========================= */

.responsivjpe-image {
  line-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.responsivjpe-image img {
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* TABLETTE & MOBILE */
@media (max-width: 900px) {
  .responsive {
    padding: 20px 0 0 !important; /* padding-bottom réduit au max */
  }

  .responsive-wrapper {
    gap: 0.1rem !important;
  }

  #responsive.section.responsive {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .section.tarifs {
    padding-top: 10px !important; /* Mets 0 si tu veux coller complètement */
  }
}

/* MOBILE PETIT (600px et moins) */
@media (max-width: 600px) {
  .responsive {
    padding: 15px 0 0 !important;
  }

  .responsive-text p {
    margin-bottom: 0.5rem !important;
  }
}
/* Augmenter l’espace sous la section CTA (mobile uniquement) */
@media (max-width: 768px) {
  .cta-devis {
    margin-bottom: 40px !important; /* Ajuste la valeur selon ton rendu */
  }
}
/* Ajustement position badge devis sur mobile */
@media (max-width: 768px) {
  .badge-devis {
    top: 1% !important; /* Mets 3%, 2% ou même 0 si tu veux encore plus haut */
  }
}



