/* ===========================
   RESET + BASE
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Oswald', sans-serif;
  background-color: #111;
  color: #f1f1f1;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes bgZoom {
  from { background-size: 100%; }
  to { background-size: 110%; }
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatBtn {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.fade-in.visible {
  animation-name: fadeUp;
  animation-duration: 0.9s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

.fade-in.delay-1.visible { animation-delay: 0.45s; }
.fade-in.delay-2.visible { animation-delay: 1.0s; }
.fade-in.delay-3.visible { animation-delay: 1.35s; }

/* ===========================
   TYPOGRAPHIE / TITRES
   =========================== */
h1, h2, h3 {
  letter-spacing: 0.5px;
}

.hero h1,
.sub-hero h1,
.hero-page h1,
.devis-content h1,
.contact-content h1,
.legal-container h1 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================
   HEADER / NAVBAR / LOGO
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
}

.home-page .navbar {
  background: rgba(0,0,0,0.3);
}

.navbar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 34px;
  align-items: center;
}

.navbar a {
  color: #f1f1f1;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #009fe3;
  transition: width 0.3s ease;
}

.navbar a:hover { color: #009fe3; }
.navbar a:hover::after,
.navbar a.active::after { width: 100%; }
.navbar a.active { color: #ffffff; }

.logo a {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #009fe3;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
}

.logo .i { color: #fff; }

.logo::after {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  margin-top: 6px;
  background: linear-gradient(to right, #0055A4 33%, #FFFFFF 33% 66%, #EF4135 66%);
}

/* ===========================
   BOUTONS
   =========================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-blue {
  background: #009fe3;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 159, 227, 0.22);
}

.btn-blue:hover {
  background: #007bbf;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 159, 227, 0.35);
}

.btn-outline {
  border: 2px solid #009fe3;
  color: #009fe3;
  background: transparent;
}

.btn-outline:hover {
  background: #009fe3;
  color: #fff;
  transform: translateY(-2px);
}

/* ===========================
   HERO HOME
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 650px !important;
  max-width: none !important;
  margin: 0 auto 8px auto !important;
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-content p {
  color: #fff;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 10px rgba(0,0,0,0.8);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.buttons > div { display: flex; }

.buttons .btn {
  min-width: 220px;
  justify-content: center;
  text-align: center;
  display: inline-flex;
  align-items: center;
}

.hero-socials {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 15px;
}

.hero-socials a {
  color: white;
  opacity: 0.7;
  transition: 0.3s;
}

.hero-socials a:hover {
  opacity: 1;
  color: #009fe3;
}

/* ===========================
   HERO SPLIT / SERVICES INTRO
   =========================== */
.split-hero {
  display: flex;
  min-height: calc(100vh - 90px);
  max-height: calc(100vh - 90px);
  margin-top: 90px;
  overflow: hidden;
}

.hero-left {
  flex: 0 0 60%;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 2px solid #009fe3;
  border-radius: 16px;
  background: #0b0b0b;
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
}

.hero-right {
  flex: 0 0 40%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 60px;
}

.hero-right-content { max-width: 500px; }

.hero-right h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.1;
}

.hero-right p {
  color: #bbb;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.scroll-down {
  display: inline-block;
  font-size: 2rem;
  color: #009fe3;
  transition: 0.3s;
  animation: bounce 1.8s infinite;
}

.scroll-down:hover { color: #fff; }

/* ===========================
   SUB HERO
   =========================== */
.sub-hero {
  position: relative;
  height: 65vh;
  background: url("images/bg-services.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  animation: bgZoom 15s ease-in-out infinite alternate;
}

.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 0;
}

.sub-hero-content {
  position: relative;
  z-index: 1;
  animation: fadeIn 1.5s ease forwards;
}

.sub-hero h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.sub-hero p {
  font-size: 1.2rem;
  color: #ccc;
  opacity: 0.9;
}

/* ===========================
   SERVICES / CARTES SERVICES
   =========================== */
.services {
  padding: 100px 40px;
  background: #111;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  text-align: center;
}

.service {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(0,159,227,0.35);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.service img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
}

.service h2 {
  color: #009fe3;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.service p {
  color: #d2d2d2;
  font-size: 1rem;
  line-height: 1.6;
}

.service-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0,159,227,0.18);
}

.discover-btn {
  display: inline-block;
  margin-top: 15px;
  background: #009fe3;
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s ease;
  opacity: 0.8;
}

.service-card:hover .discover-btn {
  opacity: 1;
  transform: translateX(5px);
}

.placeholder {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a1a1a, #262626);
  border: 1px dashed rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* ===========================
   PAGE REALISATIONS
   =========================== */
.hero-page {
  height: 60vh;
  background: url('') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
}

.hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-page-content {
  position: relative;
  z-index: 1;
}

.hero-page h1 { font-size: 3rem; }

.hero-page p {
  font-size: 1.2rem;
  color: #bbb;
  margin-top: 10px;
  opacity: 0.9;
}

.filters {
  text-align: center;
  padding: 50px 0 20px;
}

.filter-btn {
  background: transparent;
  border: 2px solid #009fe3;
  color: #009fe3;
  padding: 12px 24px;
  margin: 0 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
  background: #009fe3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,159,227,0.22);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 30px 40px 90px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #161616;
  min-height: 240px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
  color: #fff;
  opacity: 0;
  text-align: left;
  font-size: 1rem;
  transition: 0.3s ease;
}

.gallery-item:hover .overlay { opacity: 1; }

.overlay p { margin: 5px 0 0; }

.overlay .discover {
  display: inline-block;
  color: #009fe3;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
}

.gallery-item:hover .discover { transform: translateX(5px); }

.arrow {
  display: inline-block;
  transition: 2.0s;
}

.gallery-item:hover .arrow { transform: translateX(6px); }

/* ===========================
   CTA
   =========================== */
.cta {
  background: linear-gradient(to right, #111, #222);
  text-align: center;
  padding: 90px 20px;
}

.cta h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-strip {
  padding: 80px 40px;
  background: linear-gradient(to right, #111, #1a1a1a);
}

.cta-strip-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
}

.cta-strip h2 { font-size: 2.2rem; }

.cta-strip .btn:hover {
  animation: none;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,159,227,0.4);
}

/* ===========================
   MODAL PROJETS REALISATIONS
   =========================== */
.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.project-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-content {
  width: 92%;
  max-width: 1450px;
  height: 82vh;
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateX(-140px) scale(0.9);
  transition: opacity 0.65s ease, transform 1.8s cubic-bezier(.16,1,.3,1);
}

.project-modal.active .project-modal-content {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.project-modal-main-image {
  width: 70%;
  height: 100%;
  position: relative;
  background: #000;
  overflow: hidden;
}

.project-modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.22) translateX(-90px);
  transition: transform 2.4s cubic-bezier(.16,1,.3,1);
}

.project-modal.active .project-modal-main-image img {
  transform: scale(1) translateX(0);
}

.project-modal-text {
  width: 30%;
  padding: 90px 28px 35px;
  background: #111;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-modal-text h2 {
  color: #009fe3;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.project-modal-text p {
  color: #d0d0d0;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}

#modalMeta {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #009fe3;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 30;
  transition: transform 0.25s ease, color 0.25s ease;
}

.project-modal-close:hover {
  color: #fff;
  transform: scale(1.15) rotate(90deg);
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.42);
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.modal-arrow::before {
  content: '';
  width: 25px;
  height: 25px;
  border-top: 6px solid white;
  border-right: 6px solid white;
}

.modal-arrow.right::before {
  transform: rotate(45deg);
  margin-left: -9px;
}

.modal-arrow.left::before {
  transform: rotate(-135deg);
  margin-left: 9px;
}

.modal-arrow.left { left: 22px; }
.modal-arrow.right { right: 22px; }

.modal-arrow:hover {
  background: #009fe3;
  transform: translateY(-50%) scale(1.08);
}

/* ===========================
   MODAL SERVICES
   =========================== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.service-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(8px);
}

.service-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  max-width: 1200px;
  height: 75vh;
  background: #111;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  transform: translate(-85%, -50%) scale(0.82);
  opacity: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  transition: transform 1.9s cubic-bezier(.16,1,.3,1), opacity 0.9s ease;
}

.service-modal.active .service-modal-content {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.service-modal-image {
  width: 68%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.service-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
}

.service-modal.active .service-modal-image img {
  transform: scale(1) translateX(0);
}

.service-modal-text {
  width: 32%;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #111;
}

.service-modal-label {
  color: #009fe3;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s ease 0.25s;
}

.service-modal-text h2,
.service-modal-text h3,
.service-modal-text p {
  opacity: 0;
  transform: translateY(25px);
}

.service-modal.active .service-modal-label,
.service-modal.active .service-modal-text h2,
.service-modal.active .service-modal-text h3,
.service-modal.active .service-modal-text p {
  opacity: 1;
  transform: translateY(0);
}

.service-modal-text h2 {
  color: #fff;
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 16px;
  transition: 0.5s ease 0.35s;
}

.service-modal-text h3 {
  color: #009fe3;
  font-size: 1.2rem;
  margin-bottom: 25px;
  transition: 0.5s ease 0.45s;
}

.service-modal-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 1.05rem;
  transition: 0.5s ease 0.55s;
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: none;
  border: none;
  color: #009fe3;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 20;
  transition: 0.25s ease;
}

.service-modal-close:hover {
  color: white;
  transform: scale(1.15) rotate(90deg);
}

/* ===========================
   PAGE DEVIS
   =========================== */
.devis-hero {
  position: relative;
  height: 50vh;
  background: url('devis-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.devis-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

.devis-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.devis-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #009fe3;
}

.devis-content p {
  font-size: 1.2rem;
  color: #f1f1f1;
  opacity: 0.9;
}

.devis-form-section {
  background-color: #111;
  padding: 80px 20px;
}

.form-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.form-left,
.form-right {
  flex: 1 1 45%;
}

.form-right {
  color: #f1f1f1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-right h2 {
  color: #009fe3;
  margin-bottom: 10px;
}

.form-right p {
  margin-bottom: 10px;
  line-height: 1.6;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #d7d7d7;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  margin-bottom: 22px;
  transition: all 0.25s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #009fe3;
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 4px rgba(0,159,227,0.12);
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

form button {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background: #009fe3;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background: #007bbf;
  transform: translateY(-2px);
}

.form-left input,
.form-left textarea {
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.form-left input:focus,
.form-left textarea:focus {
  border-color: #009fe3;
  box-shadow: 0 0 10px rgba(0,159,227,0.3);
}

.confirmation-message {
  color: #00d084;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 40px;
}


.image-bloc {
  position: relative;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.image-bloc img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(0.75);
}

.image-overlay {
  position: absolute;
  bottom: 10px;
  left: 15px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
}

.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select .selected {
  background: rgba(0,159,227,0.9);
  color: white;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.custom-select .selected:hover { background: #007bbf; }

.custom-select .options {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 100;
}

.custom-select .options.open { display: block; }

.custom-select .option {
  padding: 12px 16px;
  cursor: pointer;
  color: #222;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-select .option:hover {
  background: #009fe3;
  color: white;
}

input[type="file"] {
  position: relative;
  opacity: 0;
  width: 100%;
  height: 45px;
  cursor: pointer;
}

.file-wrapper {
  position: relative;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  cursor: pointer;
  color: #ccc;
  transition: 0.3s;
  margin-bottom: 20px;
}

.file-wrapper:hover { background: rgba(255,255,255,0.15); }

.file-name {
  font-size: 0.95rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-btn {
  background: #009fe3;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: 0.3s;
}

.file-btn:hover { background: #007bbf; }

.form-error {
  display: none;
  font-size: 0.95rem;
  margin-top: 10px;
  color: #ff7b7b;
}

.form-success {
  display: none;
  margin-top: 18px;
  color: #8cff8c;
  font-weight: 700;
}

.custom-select.shake { animation: shake 0.6s ease; }

/* ===========================
   PAGE CONTACT
   =========================== */
.contact-hero {
  position: relative;
  height: 50vh;
  background: url('contact-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-content h1 {
  font-size: 3rem;
  color: #009fe3;
  margin-bottom: 10px;
}

.contact-content p {
  font-size: 1.2rem;
  color: #ddd;
  opacity: 0.9;
}

.contact-section {
  background: #111;
  padding: 80px 40px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1100px;
  margin: auto;
}

.contact-info,
.contact-form {
  flex: 1 1 45%;
}

.contact-info h2,
.contact-form h2 {
  color: #009fe3;
  margin-bottom: 20px;
}

.contact-info p {
  line-height: 1.7;
  color: #ccc;
}

.contact-form form label { color: #ccc; }

.map-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

.map-container iframe,
.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(50%) brightness(0.8);
}

/* ===========================
   PAGES LÉGALES
   =========================== */
.legal-section {
  padding: 160px 20px 100px;
  background: #0f172a;
  color: #e5e7eb;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: #020617;
  padding: 50px 45px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.8s ease-out both;
}

.legal-container h1 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #38bdf8;
}

.legal-container h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #f8fafc;
}

.legal-container p {
  line-height: 1.8;
  font-size: 1rem;
  color: #cbd5f5;
  margin-bottom: 15px;
}

.legal-container ul {
  margin: 15px 0 15px 25px;
}

.legal-container ul li {
  margin-bottom: 10px;
  list-style: disc;
  color: #cbd5f5;
}

.legal-container a {
  color: #38bdf8;
  text-decoration: underline;
}

.legal-container a:hover { opacity: 0.85; }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #000;
  color: #ccc;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}

.footer {
  width: 100%;
  background-color: #0c0c0c;
  color: #ccc;
  padding: 90px 60px 40px;
  border-top: 1px solid #1f1f1f;
  font-family: 'Oswald', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  font-size: 2.2rem;
  letter-spacing: 2px;
  color: #009fe3;
}

.footer-logo .i { color: #fff; }

.footer-tagline {
  margin-top: 10px;
  color: #999;
  font-size: 1rem;
}

.footer-column h3 {
  color: #f1f1f1;
  font-size: 1.2rem;
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 3px solid #009fe3;
}

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

.footer-column ul li { margin-bottom: 10px; }

.footer-column ul li a {
  color: #bbb;
  transition: 0.3s;
}

.footer-column ul li a:hover { color: #009fe3; }

.footer p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer .footer-column:nth-child(3),
.footer .footer-column:nth-child(3) h3 {
  text-align: center;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  color: #bbb;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.footer-social a img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  color: #009fe3;
  background: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover img { transform: scale(1.15); }

.footer-bottom {
  border-top: 1px solid #1f1f1f;
  margin-top: 45px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .navbar { padding: 16px 20px; }
  .navbar ul { gap: 18px; }

  .split-hero,
  .form-container,
  .contact-container {
    flex-direction: column;
  }

  .hero-right { padding: 40px 25px; }

  .hero h1,
  .devis-content h1,
  .contact-content h1,
  .hero-page h1,
  .sub-hero h1,
  .legal-container h1 {
    font-size: 2.2rem;
  }

  .hero p,
  .devis-content p,
  .contact-content p,
  .hero-page p,
  .sub-hero p {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .contact-info,
  .contact-form,
  .form-left,
  .form-right {
    flex: 1 1 100%;
  }

  .service-modal-content {
    flex-direction: column;
    height: 85vh;
  }

  .service-modal-image,
  .service-modal-text {
    width: 100%;
  }

  .service-modal-image { height: 45%; }

  .service-modal-text {
    height: 55%;
    padding: 35px 25px;
  }
}

@media (max-width: 768px) {
  .footer { padding: 70px 25px 30px; }

  .legal-container { padding: 35px 25px; }
  .legal-container h1 { font-size: 2.2rem; }
  .legal-container h2 { font-size: 1.4rem; }

  .cta-strip-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ===========================
   FIX PROPRE PAGE DEVIS
   =========================== */

.devis-form-section {
  padding: 80px 40px;
}

.devis-form-section .form-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.devis-form-section .form-left,
.devis-form-section .form-right {
  width: 100%;
  min-width: 0;
}

.devis-form-section .contact-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  align-items: start;
}

.devis-form-section .form-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.devis-form-section .form-trust p {
  margin: 0;
  min-height: 74px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(0,159,227,0.18);
  border-radius: 12px;
  color: #d8d8d8;
  font-size: 0.9rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
}

.devis-form-section .image-bloc {
  margin-top: 40px;
  width: 100%;
}

.devis-form-section .image-bloc img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}



/* =====================================================
   FINITIONS DESKTOP — PATCH FINAL BRIMEY
   Objectif : harmonisation desktop sans modifier le HTML.
   ===================================================== */

@media (min-width: 901px) {
  /* largeur globale propre */
  .container {
    max-width: 1280px;
    margin: 0 auto;
  }

  /* NAVBAR : meilleure tenue sur grands écrans */
  .navbar nav {
    min-height: 48px;
  }

  .navbar ul {
    min-width: 260px;
  }

  .navbar .nav-left {
    justify-content: flex-start;
  }

  .navbar .nav-right {
    justify-content: flex-end;
  }

  /* HERO ACCUEIL : meilleur centrage visuel */
  .hero-content {
    transform: translateY(10px);
  }

  .hero-content p {
    font-size: 1.65rem;
    letter-spacing: 0.8px;
  }

  /* HERO PAGES : meilleure présence desktop */
  .hero-page,
  .devis-hero,
  .contact-hero {
    min-height: 420px;
  }

  .hero-page h1,
  .devis-content h1,
  .contact-content h1 {
    font-size: 3.2rem;
  }

  /* SERVICES : cartes équilibrées */
  .services {
    max-width: 1280px;
    margin: 0 auto;
  }

  .service {
    min-height: 430px;
    display: flex;
    flex-direction: column;
  }

  .service img {
    height: 245px;
  }

  .service p {
    flex: 1;
  }

  .discover-btn {
    align-self: center;
  }

  /* RÉALISATIONS : cartes plus premium et régulières */
  .gallery {
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .gallery-item {
    min-height: 285px;
    cursor: pointer;
  }

  .gallery-item img {
    min-height: 285px;
  }

  .overlay .discover {
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  }

  .overlay p {
    font-size: 1.05rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.65);
  }

  /* CTA : respiration plus haut de gamme */
  .cta,
  .cta-strip {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  /* FORMULAIRES : rendu plus propre */
  form input,
  form select,
  form textarea,
  .custom-select .selected {
    font-family: 'Oswald', sans-serif;
  }

  .devis-form-section .form-container {
    max-width: 1320px;
    grid-template-columns: minmax(520px, 0.95fr) minmax(560px, 1.05fr);
    gap: 58px;
  }

  .devis-form-section .contact-top {
    grid-template-columns: 220px 1fr;
    gap: 10px;
  }

  .devis-form-section .form-trust p {
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }

  .devis-form-section .form-trust p:hover {
    border-color: rgba(0,159,227,0.45);
    background: rgba(0,159,227,0.07);
    transform: translateY(-2px);
  }

  /* CONTACT : alignement plus net */
  .contact-container {
    align-items: flex-start;
  }

  /* FOOTER : parfait desktop */
  .footer-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
    gap: 55px;
  }

  .footer-column {
    min-width: 0;
  }

  .footer-column h3 {
    display: inline-block;
  }

  .footer .footer-column:nth-child(3),
  .footer .footer-column:nth-child(3) h3 {
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }

  .footer-bottom {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* MODALS : confort desktop */
  .project-modal-content {
    max-width: 1350px;
  }

  .service-modal-content {
    max-width: 1180px;
  }
}

@media (max-width: 900px) {

  .footer-column {
    position: relative;
    padding-bottom: 28px;
  }

  .footer-column::after {
    content: '';

    width: 70px;
    height: 2px;

    background: #009fe3;

    position: absolute;
    bottom: 0;
    left: 50%;

    transform: translateX(-50%);
    opacity: 0.5;
  }

  .footer-column:last-child::after {
    display: none;
  }

}


/* BURGER MOBILE PROPRE */
.burger,
.mobile-menu,
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 900px) {

  .navbar {
    padding: 18px 24px;
  }

  .navbar nav {
    justify-content: center;
    position: relative;
  }

  .navbar .nav-left,
  .navbar .nav-right {
    display: none !important;
  }

  .navbar .logo {
    margin: 0 auto;
    z-index: 1002;
  }

  .burger {
    display: flex;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 3001;
  }

  .burger span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 999px;
    transition: 0.35s ease;
  }

  .burger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    z-index: 2500;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    background: #070707;
    border-right: 1px solid rgba(0,159,227,0.35);
    box-shadow: 20px 0 60px rgba(0,0,0,0.55);
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(.16,1,.3,1);
    z-index: 2800;
    flex-direction: column;
    padding: 100px 35px 40px;
    gap: 26px;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-logo {
    color: #009fe3;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 30px;
  }

  .mobile-menu-logo .i {
    color: #fff;
  }

  .mobile-menu a {
    color: #f1f1f1;
    font-size: 1.35rem;
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
  }

  .mobile-menu a:hover {
    color: #009fe3;
    transform: translateX(6px);
  }
}


/* ==========================================
   RESPONSIVE MOBILE PREMIUM
   ========================================== */

@media (max-width: 900px) {

  /* HERO */

  .hero,
  .hero-page,
  .sub-hero,
  .devis-hero,
  .contact-hero {
    height: 75vh;
    padding: 0 20px;
  }

  .hero-content,
  .hero-page-content,
  .sub-hero-content,
  .devis-content,
  .contact-content {
    width: 100%;
    text-align: center;
  }

  .hero h1,
  .hero-page h1,
  .sub-hero h1,
  .devis-content h1,
  .contact-content h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero p,
  .hero-page p,
  .sub-hero p,
  .devis-content p,
  .contact-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-logo {
    width: 85vw !important;
  }

  /* BOUTONS */

  .buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
    gap: 15px;
  }

  .buttons .btn {
    width: 100%;
  }

  .btn {
    padding: 16px 22px;
    font-size: 1rem;
  }

  /* SERVICES */

  .services {
    grid-template-columns: 1fr;
    padding: 70px 20px;
    gap: 25px;
  }

  .service {
    padding: 18px;
  }

  .service img {
    height: 240px;
  }

  /* GALERIE */

  .gallery {
    grid-template-columns: 1fr;
    padding: 25px 15px 70px;
    gap: 18px;
  }

  .gallery-item {
    min-height: 260px;
  }

  .gallery-item img {
    min-height: 260px;
  }

  .overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.88),
      rgba(0,0,0,0.15)
    );
  }

  .overlay p {
    font-size: 0.95rem;
  }

  /* MODALES PROJETS */

  .project-modal-content {
    flex-direction: column;
    width: 94%;
    height: 88vh;
  }

  .project-modal-main-image {
    width: 100%;
    height: 48%;
  }

  .project-modal-text {
    width: 100%;
    height: 52%;
    padding: 30px 22px 25px;
  }

  .project-modal-text h2 {
    font-size: 1.6rem;
  }

  .project-modal-text p {
    font-size: 0.95rem;
  }

  .modal-arrow {
    width: 48px;
    height: 48px;
  }

  .modal-arrow::before {
    width: 18px;
    height: 18px;
    border-top: 4px solid white;
    border-right: 4px solid white;
  }

  /* MODALES SERVICES */

  .service-modal-content {
    flex-direction: column;
    width: 94%;
    height: 88vh;
  }

  .service-modal-image {
    width: 100%;
    height: 45%;
  }

  .service-modal-text {
    width: 100%;
    height: 55%;
    padding: 30px 22px;
  }

  .service-modal-text h2 {
    font-size: 2rem;
  }

  .service-modal-text h3 {
    font-size: 1rem;
  }

  .service-modal-text p {
    font-size: 0.95rem;
  }

  /* FORMULAIRES */

  .form-container,
  .contact-container,
  .contact-top {
    flex-direction: column;
    gap: 30px;
  }

  .form-left,
  .form-right,
  .contact-info,
  .contact-form {
    width: 100%;
  }

  .form-trust {
    grid-template-columns: 1fr;
    width: 100%;
  }

  form input,
  form textarea,
  .custom-select .selected {
    font-size: 16px;
  }

  /* FOOTER */

  .footer {
    padding: 65px 25px 30px;
  }

  .footer-container {
    flex-direction: column;
    gap: 45px;
    text-align: center;
    align-items: center;
  }

  .footer-column {
    width: 100%;
  }

  .footer-column h3 {
    border: none;
    padding: 0;
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }

  .footer-bottom {
    margin-top: 35px;
  }

  /* ESPACEMENTS */

  section {
    overflow: hidden;
  }

  .cta-strip {
    padding: 60px 20px;
  }

  .cta-strip h2 {
    font-size: 1.8rem;
  }

  /* ANIMATIONS */

  .gallery-item:hover,
  .service:hover,
  .service-card:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: scale(1.03);
  }

}




@media (max-width: 900px) {
  .devis-hero {
    height: 100vh;
    padding: 0 28px;
  }

  .devis-content h1 {
    opacity: 0;
    animation: titleFromLeft 2s ease forwards;
  }

  .devis-content p {
    opacity: 0;
    animation: subtitleFromRight 2s ease 0.5s forwards;
  }

  .devis-form-section {
    padding-top: 80px;
  }

  .devis-form-section .form-left {
    opacity: 0;
    transform: translateY(35px);
    animation: formMobileUp 0.9s ease 0.35s forwards;
  }

  @keyframes titleFromLeft {
    from {
      opacity: 0;
      transform: translateX(-80px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes subtitleFromRight {
    from {
      opacity: 0;
      transform: translateX(80px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes formMobileUp {
    from {
      opacity: 0;
      transform: translateY(35px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 900px) {

  .sub-hero.split-hero {
    width: 100% !important;
    height: calc(100vh - 90px) !important;
    min-height: calc(100vh - 90px) !important;
    max-height: none !important;

    margin-top: 90px !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    background: #111 !important;
    animation: none !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .sub-hero.split-hero .hero-right {
    width: 100% !important;
    height: 42% !important;
    flex: none !important;

    padding: 35px 25px 15px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .sub-hero.split-hero .hero-right h1 {
    font-size: 2.25rem !important;
    line-height: 1.05 !important;
    margin-bottom: 14px !important;
  }

  .sub-hero.split-hero .hero-right p {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  .sub-hero.split-hero .hero-left {
    width: 100% !important;
    height: 58% !important;
    flex: none !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  .sub-hero.split-hero .hero-left img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;
  }
}

@media (max-width: 900px) {
  .devis-form-section .form-right {
    display: none !important;
  }

  .devis-form-section .form-container {
    display: block;
  }
}

@media (max-width: 900px) {
  .devis-mobile-form > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .devis-mobile-form.mobile-visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  .devis-mobile-form.mobile-visible > *:nth-child(1) { transition-delay: 0.05s; }
  .devis-mobile-form.mobile-visible > *:nth-child(2) { transition-delay: 0.12s; }
  .devis-mobile-form.mobile-visible > *:nth-child(3) { transition-delay: 0.20s; }
  .devis-mobile-form.mobile-visible > *:nth-child(4) { transition-delay: 0.30s; }
  .devis-mobile-form.mobile-visible > *:nth-child(5) { transition-delay: 0.43s; }
  .devis-mobile-form.mobile-visible > *:nth-child(6) { transition-delay: 0.50s; }
  .devis-mobile-form.mobile-visible > *:nth-child(7) { transition-delay: 0.67s; }
  .devis-mobile-form.mobile-visible > *:nth-child(8) { transition-delay: 0.74s; }
  .devis-mobile-form.mobile-visible > *:nth-child(9) { transition-delay: 0.81s; }
  .devis-mobile-form.mobile-visible > *:nth-child(10) { transition-delay: 0.98s; }
}


@media (max-width: 900px) {

  /* HERO SERVICE MOBILE - ajustement propre */
  .sub-hero.split-hero .hero-right {
    height: 40% !important;
    padding: 22px 24px 8px !important;
  }

  .sub-hero.split-hero .hero-right h1 {
    font-size: 2rem !important;
    line-height: 1.03 !important;
    margin-bottom: 12px !important;
  }

  .sub-hero.split-hero .hero-right p {
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
  }

  .sub-hero.split-hero .scroll-down {
    font-size: 1.8rem !important;
    margin-bottom: 0 !important;
    position: relative;
    top: -18px;
  }

  .sub-hero.split-hero .hero-left {
    height: 60% !important;
  }

  /* MODALE SERVICE MOBILE - texte compact */
  .service-modal-content {
    height: 86vh !important;
  }

  .service-modal-image {
    height: 40% !important;
  }

  .service-modal-text {
    height: 60% !important;
    padding: 28px 20px 22px !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
  }

  .service-modal-label {
    font-size: 0.72rem !important;
    margin-bottom: 10px !important;
  }

  .service-modal-text h2 {
    font-size: 1.55rem !important;
    line-height: 1.05 !important;
    margin-bottom: 10px !important;
  }

  .service-modal-text h3 {
    font-size: 0.95rem !important;
    margin-bottom: 14px !important;
  }

  .service-modal-text p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  .service-modal-close {
    font-size: 2.4rem !important;
    top: 10px !important;
    right: 16px !important;
  }
}


@media (max-width: 900px) {

  /* HERO CONTACT MOBILE */
  .contact-hero {
    height: 100vh;
    padding: 0 28px;
  }

  .contact-content h1 {
    opacity: 0;
    animation: contactTitleFromLeft 2s ease forwards;
  }

  .contact-content p {
    opacity: 0;
    animation: contactSubtitleFromRight 2s ease 0.5s forwards;
  }

  @keyframes contactTitleFromLeft {
    from {
      opacity: 0;
      transform: translateX(-80px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes contactSubtitleFromRight {
    from {
      opacity: 0;
      transform: translateX(80px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* CONTACT SECTION MOBILE */
  .contact-section {
    padding: 70px 22px;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 55px;
  }

  .contact-info {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }

  .contact-info.contact-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .contact-info h2 {
    font-size: 1.8rem;
  }

  .contact-info p {
    font-size: 1rem;
    line-height: 1.7;
  }

  /* FORMULAIRE CONTACT ANIMÉ */
  .contact-mobile-form > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .contact-mobile-form.mobile-visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  .contact-mobile-form.mobile-visible > *:nth-child(1) { transition-delay: 0.05s; }
  .contact-mobile-form.mobile-visible > *:nth-child(2) { transition-delay: 0.12s; }
  .contact-mobile-form.mobile-visible > *:nth-child(3) { transition-delay: 0.20s; }
  .contact-mobile-form.mobile-visible > *:nth-child(4) { transition-delay: 0.30s; }
  .contact-mobile-form.mobile-visible > *:nth-child(5) { transition-delay: 0.43s; }
  .contact-mobile-form.mobile-visible > *:nth-child(6) { transition-delay: 0.50s; }
  .contact-mobile-form.mobile-visible > *:nth-child(7) { transition-delay: 0.67s; }
  .contact-mobile-form.mobile-visible > *:nth-child(8) { transition-delay: 0.74s; }
  .contact-mobile-form.mobile-visible > *:nth-child(9) { transition-delay: 0.81s; }

  /* MAP MOBILE */
  .map-container {
    height: 360px;
    border-radius: 0;
  }
}

.video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-mobile {
  display: none;
}

@media (max-width: 900px) {
  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: block;
    object-position: center;
  }
}

@media (max-width: 900px) {
  .hero {
    height: 100vh !important;
    min-height: 100vh !important;
  }

  .video-wrapper,
  .bg-video {
    height: 100% !important;
  }

  .video-mobile {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
  }
}

@media (max-width: 900px) {
  .hero-logo {
    width: min(105vw, 430px) !important;
    max-width: none !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

