/* =========================
   RESET & CORRECTION GLOBALE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: #1e1e1e;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =========================
   VARIABLES
========================= */
:root {
  --color-dark: #120F24;
  --color-dark-2: #231938;
  --color-white: #ffffff;
  --color-text: #222222;
  --color-muted: rgba(255, 255, 255, 0.8);

  --color-primary: #f4b000;
  --color-primary-hover: #e2a300;

  --color-orange: #ff8f1f;
  --color-magenta: #d13d72;
  --color-violet: #5b2d82;
  --color-blue: #2d5da8;
  --color-green: #4aa34a;

  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.18);
  --shadow-strong: 0 20px 45px rgba(0, 0, 0, 0.3);

  --radius: 12px;
  --container: 1200px;
}

/* =========================
   GLOBAL
========================= */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #ffc62f 0%, #f4b000 100%);
  color: #1f1f1f;
  padding: 14px 22px;
  box-shadow: 0 8px 18px rgba(244, 176, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffd04d 0%, #e2a300 100%);
  transform: translateY(-1px);
}

.btn-hero {
  background: linear-gradient(180deg, #ffc62f 0%, #f4b000 100%);
  color: #1f1f1f;
  padding: 18px 34px;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(244, 176, 0, 0.35);
}

.btn-hero:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffd04d 0%, #e2a300 100%);
}

/* =========================
   TOP RIBBON
========================= */
.top-ribbon {
  height: 16px;
  background:
    linear-gradient(
      90deg,
      #c71d44 0%,
      #c71d44 14%,
      #9e206d 14%,
      #9e206d 22%,
      #d8b019 22%,
      #d8b019 28%,
      #c71d44 28%,
      #c71d44 43%,
      #7d86d5 43%,
      #7d86d5 50%,
      #384fb3 50%,
      #384fb3 58%,
      #4d8c3a 58%,
      #4d8c3a 72%,
      #c71d44 72%,
      #c71d44 88%,
      #d8b019 88%,
      #d8b019 100%
    );
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: 
    rgba(18, 15, 36, 0.88) 
    url("https://www.transparenttextures.com/patterns/stardust.png");
  color: #ffffff;
  backdrop-filter: blur(8px);
  border-bottom: 4px solid #4a9a37;
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-script {
  font-family: "Allura", cursive;
  font-size: 3rem;
  color: #ffffff;
  transform: rotate(-4deg);
  display: inline-block;
}

.logo-sub {
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: -8px;
  margin-left: 24px;
  color: rgba(255,255,255,0.85);
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.98rem;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: #f4b000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-link {
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}

.shop-link:hover {
  background: rgba(255,255,255,0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  border-radius: 999px;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 208, 117, 0.35), transparent 18%),
    linear-gradient(90deg, rgba(47, 21, 0, 0.72) 0%, rgba(0,0,0,0.12) 30%, rgba(37, 11, 40, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 28px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(90deg, 
      var(--color-orange) 0%, var(--color-orange) 25%,
      var(--color-blue) 25%, var(--color-blue) 50%,
      var(--color-magenta) 50%, var(--color-magenta) 75%,
      var(--color-green) 75%, var(--color-green) 100%
  );
  box-shadow: var(--shadow-soft);
  z-index: 4;
}

.hero-deco-top {
  top: 0; 
}

.hero-deco-bottom {
  bottom: 0;
  border-radius: 18px 18px 0 0;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 90px 0 110px;
}

.hero-right {
  text-align: center;
  justify-self: end;
  max-width: 700px;
  margin: 0px 10vw 10vh auto;
}

.hero-kicker {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-description {
  margin: 28px 0 34px;
  font-size: clamp(1.1rem, 1.8vw, 2rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
}

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero-right { justify-self: center; margin: 0 auto; }
}

@media (max-width: 768px) {
  .site-header { border-bottom-width: 3px; }
  .header-inner { min-height: 74px; }
  .logo-script { font-size: 2.4rem; }
  .hero { min-height: auto; }
  .hero-content { padding: 70px 0 90px; }
  .hero-description br { display: none; }
  .hero-deco { width: 220px; height: 20px; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .btn-hero, .btn-primary { width: 100%; }
  .hero-right { width: 100%; }
}

/* =========================
   SERVICES
========================= */
.services {
  position: relative;
  z-index: 5;
  background: #f7f7f7;
  padding: 0 0 70px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  margin-top: -78px;
  align-items: start;
}

.service-card {
  position: relative;
  background: linear-gradient(180deg, #ffbf1f 0%, #f39a11 100%);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  overflow: visible;
  text-align: center;
  padding: 0 0 22px;
  min-height: 300px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.service-card__visual {
  position: relative;
  width: calc(100% - 26px);
  margin: -18px auto 18px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.service-card__visual img {
  width: 100%;
  height: 22.5vh;
  object-fit: cover;
  display: block;
}

.service-card__tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

.service-card__content {
  padding: 0 18px;
}

.service-card__content p {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 500;
}

.service-card__content strong {
  font-weight: 700;
}

.service-card--identity .service-card__tag { background: linear-gradient(90deg, #6d2a87 0%, #e13e6c 100%); }
.service-card--print .service-card__tag { background: linear-gradient(90deg, #d73453 0%, #f07d2d 100%); }
.service-card--textile .service-card__tag { background: linear-gradient(90deg, #2e4bb7 0%, #5d2c88 100%); }
.service-card--web .service-card__tag { background: linear-gradient(90deg, #47a74b 0%, #2d67b8 100%); }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: -50px; }
}

@media (max-width: 768px) {
  .services { padding-bottom: 50px; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .service-card { min-height: auto; max-width: 420px; margin-inline: auto; }
  .service-card__visual img { height: 180px; }
}

/* =========================
   SECTION HEADING
========================= */
.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  color: #262448;
}

.section-heading h2 strong {
  font-weight: 800;
}

.section-heading__bar {
  display: block;
  width: 220px;
  height: 8px;
  margin-top: 10px;
  background: linear-gradient(90deg, #8fb34d 0%, #8fb34d 18%, #7f8fd9 18%, #7f8fd9 38%, #2f6ab7 38%, #2f6ab7 62%, #61398e 62%, #61398e 82%, #c5a11a 82%, #c5a11a 100%);
}

/* =========================
   ABOUT
========================= */
.about {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.025), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.about-bg-icon {
  position: absolute;
  left: -40px;
  top: 80px;
  font-size: 24rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(60, 60, 60, 0.08);
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.about .container {
  position: relative;
  z-index: 2;
  background-color: #e3e3e3;
  background-image: url("https://www.transparenttextures.com/patterns/paper.png");
  padding: 50px 40px;
  border-radius: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.about-text {
  color: #333333;
  font-size: 0.98rem;
  line-height: 1.45;
}

.about-text p { margin: 0 0 12px; }
.about-text-force { color: #bda040 !important; margin-top: 14px; }
.about-text-local { color: #72a20b !important; }
.about-text-approach { color: #5290e7 !important; }
.about-text-passion { color: #ff5500 !important; }

.about-media {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-media { max-width: 760px; }
}

@media (max-width: 768px) {
  .about { padding: 56px 0 50px; }
  .about-bg-icon { font-size: 14rem; left: -25px; top: 120px; }
  .section-heading__bar { width: 170px; height: 7px; }
  .about-text { font-size: 0.95rem; }
  .about-media img { min-height: 240px; }
}

/* =========================
   PROJECTS
========================= */
.projects {
  padding: 34px 0 70px;
  background: #f6f6f6;
}

.projects-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading--projects {
  margin-bottom: 0;
}

.btn-projects {
  background: linear-gradient(180deg, #ffc62f 0%, #f4b000 100%);
  color: #1f1f1f;
  padding: 16px 24px;
  min-width: 230px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(244, 176, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.25s ease;
}

.btn-projects:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffd04d 0%, #e2a300 100%);
}

.projects-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.projects-track {
  flex: 1;
  display: flex;
  gap: 28px;
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.projects-track::-webkit-scrollbar {
  display: none;
}

.project-card {
  min-width: calc((100% - 56px) / 3);
  flex: 0 0 calc((100% - 56px) / 3);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-snap-align: start; 
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  display: block;
}

.projects-arrow {
  width: 48px;
  height: 48px;
  border: 2px solid #1e1e1e;
  border-radius: 50%;
  background: #ffffff;
  color: #1e1e1e;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
  flex-shrink: 0;
}

.projects-arrow:hover {
  background: #1e1e1e;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .projects-top { flex-direction: column; align-items: flex-start; }
  .projects-slider { gap: 16px; }
  .projects-arrow { width: 44px; height: 44px; font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .projects { padding: 24px 0 50px; }
  .projects-top { margin-bottom: 24px; }
  .projects-slider { flex-direction: column; gap: 24px; }
  .projects-track { width: 100%; }
  .projects-arrow { display: none; }
  .project-card { min-width: 85%; flex: 0 0 85%; }
}

/* =========================
   MODAL PROJET DÉTAILLÉ
========================= */
.project-modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.project-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.project-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.project-modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.project-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f4b000;
  color: #120F24;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.project-modal__close:hover {
  transform: scale(1.1);
}

.project-modal__layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  height: 70vh;
  max-height: 750px;
}

.project-modal__left {
  position: relative;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-modal__left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #120F24;
  font-size: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  padding-bottom: 4px;
}

.modal-nav-arrow:hover {
  background: #f4b000;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.modal-nav-arrow--prev {
  left: 40px;
}

.modal-nav-arrow--next {
  right: 40px;
}

.project-modal__right {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-dark-2); 
  color: white;
}

.project-modal__right h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 800;
}

.project-modal__right p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
}

@media (max-width: 900px) {
  .project-modal { padding: 20px; }
  .project-modal__layout { grid-template-columns: 1fr; height: auto; max-height: 90vh; overflow-y: auto;}
  .project-modal__left { height: 40vh; min-height: 300px; }
  .project-modal__right { padding: 40px 30px; }
  .modal-nav-arrow { width: 40px; height: 40px; font-size: 1.8rem; }
}

/* =========================
   FOOTER
========================= */
.site-footer {
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

.footer-top-ribbon {
  height: 14px;
  background: linear-gradient(90deg, #4b9b3c 0%, #4b9b3c 32%, #c82155 32%, #c82155 54%, #d8b11e 54%, #d8b11e 65%, #3c6bc4 65%, #3c6bc4 76%, #5a2f8c 76%, #5a2f8c 100%);
}

.footer-main {
  position: relative;
  padding: 52px 0 0;
  /* Assombrissement et ajout d'effet "ciel étoilé" avec texture stardust */
  background:
    url("https://www.transparenttextures.com/patterns/stardust.png"),
    radial-gradient(circle at 20% 30%, rgba(120, 40, 80, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(50, 20, 100, 0.2), transparent 50%),
    linear-gradient(135deg, #0f0316 0%, #1c0621 40%, #290a1e 70%, #0a030d 100%);
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 420px;
  gap: 42px;
  align-items: start;
  padding-bottom: 34px;
}

.footer-brand { padding-top: 12px; }
.footer-logo { display: inline-flex; flex-direction: column; margin-bottom: 26px; }
.footer-logo-script { font-family: "Allura", cursive; font-size: clamp(4rem, 6vw, 5.8rem); transform: rotate(-4deg); }
.footer-logo-sub { font-size: 0.95rem; margin-top: -14px; margin-left: 34px; color: rgba(255,255,255,0.92); }

.footer-contact p, .footer-address, .footer-entreprise { margin: 0 0 4px; font-size: 1rem; line-height: 1.45; }
.footer-address { margin-top: 8px; font-style: normal; }
.footer-entreprise { margin-top: 8px; }

/* Nouvelles lignes de séparation discrètes */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 12px 0;
  width: 100%;
}

.footer-cta { text-align: center; padding-top: 42px; }
.footer-cta h3 { margin: 0 0 24px; font-size: clamp(1.8rem, 2.3vw, 2.5rem); font-weight: 400; text-transform: uppercase; }
.footer-cta h3 strong { font-weight: 800; }

.btn-footer-contact {
  background: linear-gradient(180deg, #ffc62f 0%, #f4b000 100%);
  color: #1f1f1f;
  padding: 16px 26px;
  min-width: 240px;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(244, 176, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-footer-contact__icon {
  display: inline-flex;
  margin-right: 4px;
}

.footer-socials-wrap { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px;}
.footer-social { width: 48px; height: 48px; border: 2px solid rgba(255,255,255,0.8); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; transition: 0.25s ease; }
.footer-social:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.footer-follow { font-size: 1.15rem; font-weight: 500; display: block; margin-top: 10px;}

.footer-form-card {
  background: #efefef;
  color: #3a3a3a;
  border-radius: 18px 18px 0 0;
  padding: 30px 26px 26px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.footer-form-card h3 { margin: 0 0 22px; text-align: center; font-size: clamp(1.8rem, 2vw, 2.4rem); text-transform: uppercase; color: #4a4a4a; }

.footer-form { display: grid; gap: 14px; }
.footer-form input, .footer-form textarea { width: 100%; border: 0; border-radius: 8px; padding: 15px 16px; font-family: inherit; font-size: 0.98rem; outline: none; }
.footer-form textarea { min-height: 130px; resize: vertical; }

.btn-footer-submit { background: linear-gradient(180deg, #ffc62f 0%, #f4b000 100%); color: #1f1f1f; padding: 15px 20px; font-weight: 800; border: 0; cursor: pointer; transition: 0.2s; }
.btn-footer-submit:hover { background: linear-gradient(180deg, #ffd04d 0%, #e2a300 100%); transform: translateY(-1px); }

.footer-bottom {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 30%, #2d1b4e 60%, #150a2a 90%, #0a0a1a 100%);
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
}

.footer-bottom-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-form-card { grid-column: 1 / -1; max-width: 620px; justify-self: center; width: 100%; }
}

@media (max-width: 768px) {
  .footer-main { padding-top: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand, .footer-cta { padding-top: 0; }
  .footer-logo { justify-content: center; align-items: center; }
  .footer-logo-sub { margin-left: 0; }
}

/* =========================
   BOUTON MESSENGER
========================= */
.floating-messenger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #0084FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-messenger:hover {
  transform: scale(1.1);
}

.floating-messenger svg {
  width: 34px;
  height: 34px;
}

/* =========================
   COOKIE CONSENT POPUP
========================= */
.cookie-consent-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.cookie-consent-popup.active { display: flex; }

.cookie-consent-content {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 100, 150, 0.4), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(100, 50, 255, 0.5), transparent 50%),
    linear-gradient(135deg, #2b0a3d 0%, #4a0f4f 40%, #7a1d4d 70%, #2a0d3a 100%);
  width: 100%;
  max-width: 600px;
  border-radius: 16px 16px 0 0;
  padding: 40px;
  color: #ffffff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-consent-header { margin-bottom: 24px; text-align: center; }
.cookie-consent-header h3 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 700; color: #ffffff; }
.cookie-consent-header p { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.cookie-consent-body > p { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.cookie-options { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; padding: 16px; background: rgba(255, 255, 255, 0.08); border-radius: 10px; }
.cookie-checkbox { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.cookie-checkbox input[type="checkbox"] { width: 20px; height: 20px; accent-color: #f4b000; }
.checkbox-label strong { font-weight: 600; color: #ffffff; }
.checkbox-label small { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
.cookie-links { display: flex; gap: 16px; justify-content: center; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.cookie-link { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); text-decoration: underline; }
.cookie-consent-footer { display: flex; gap: 12px; }
.btn-cookie-reject, .btn-cookie-accept { flex: 1; padding: 14px 20px; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; }
.btn-cookie-reject { background: rgba(255, 255, 255, 0.15); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-cookie-accept { background: linear-gradient(180deg, #ffc62f 0%, #f4b000 100%); color: #1f1f1f; }

/* =========================
   PAGE DE CONTACT
========================= */

.contact-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(37, 11, 40, 0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Texte Gauche */
.contact-text-area {
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #333;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}

.contact-subtitle {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 15px 0;
  color: #666;
}

.contact-desc {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #777;
}

.btn-devis-scroll {
  display: inline-block;
  margin-top: 10px;
}

/* Formulaire Droite (Card) */
.contact-form-wrapper {
  display: flex;
  justify-content: flex-end;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-card h3 {
  margin: 0 0 25px 0;
  font-size: 1.8rem;
  color: #120F24;
}

#mainContactForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

#mainContactForm input[type="text"],
#mainContactForm input[type="email"],
#mainContactForm input[type="tel"],
#mainContactForm textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fdfdfd;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

#mainContactForm input:focus,
#mainContactForm textarea:focus {
  border-color: #f4b000;
}

/* Upload Fichier */
.file-upload-wrapper {
  position: relative;
  margin-top: 5px;
}

.file-upload-input {
  display: none;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #f5f5f5;
  border: 1px dashed #cccccc;
  border-radius: 8px;
  cursor: pointer;
  color: #666;
  font-size: 0.9rem;
  transition: 0.3s;
}

.file-upload-label:hover {
  background: #ebebeb;
  border-color: #b3b3b3;
}

/* Newsletter */
.newsletter-checkbox {
  font-size: 0.9rem;
  color: #444;
  margin-top: 5px;
}

.newsletter-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* Captcha */
.captcha-wrapper {
  margin-top: 10px;
  margin-bottom: 5px;
}

.captcha-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.captcha-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.captcha-equation {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
  background: #f0f0f0;
  padding: 10px 16px;
  border-radius: 8px;
}

#captcha-answer {
  flex: 1;
}

/* Bouton Envoyer Vert */
.btn-submit-green {
  background: linear-gradient(180deg, #5cb85c 0%, #4cae4c 100%);
  color: #ffffff;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(76, 174, 76, 0.3);
  transition: 0.3s ease;
  margin-top: 10px;
}

.btn-submit-green:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #4cae4c 0%, #449d44 100%);
}

/* Section Map (Desktop surtout) */
.contact-map-section {
  background: #1e1e1e; /* Fond sombre pour faire ressortir le texte blanc */
  padding: 0;
}

.map-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 400px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.map-info {
  padding: 50px 40px;
  background: #1e1e1e;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h3 {
  color: #f4b000;
  margin-top: 0;
  margin-bottom: 20px;
}

.map-info p, .map-info a {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.6;
}

.map-info .phone-number {
  color: #ffffff; /* Numéro en blanc light/bold comme demandé */
  font-weight: 800;
  font-size: 1.2rem;
  margin: 15px 0;
}

.map-info a:hover {
  color: #f4b000;
}

/* Responsive Contact Page */
@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .contact-form-wrapper {
    justify-content: center;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 25px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-title {
    font-size: 2.5rem;
  }
}