/* =====================================================
   GLOBALYS SOLUTIONS – CHAPITEAUX SUR MESURE
   Palette : Navy #12162A  |  Gold #F5B800  |  White #FFFFFF
   ===================================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #12162A;
  --navy-mid: #1C2140;
  --navy-light: #252B4E;
  --gold: #F5B800;
  --gold-dark: #D4A000;
  --gold-light: #FFD54F;
  --white: #FFFFFF;
  --gray: #8892A4;
  --gray-light: #C8CDD8;
  --bg-dark: #0D1020;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, .35);
  --shadow-gold: 0 4px 24px rgba(245, 184, 0, .25);
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.gold {
  color: var(--gold);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   INTRO SPLASH SCREEN
   ======================================================== */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity .8s ease, visibility .8s ease;
}

.intro-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introScale .6s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes introScale {
  from {
    transform: scale(.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.intro-gif {
  max-width: 420px;
  width: 80vw;
  height: auto;
  border-radius: 12px;
}

/* Progress bar */
.intro-progress {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, .1);
  border-radius: 2px;
  overflow: hidden;
}

.intro-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width linear;
}

/* ========================================================
   NAVBAR
   ======================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 16, 32, .97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .5);
  padding: .8rem 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

/* Logo fallback — matches Globalys Solutions branding */
.logo-fallback {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: .3rem .7rem .3rem .5rem;
  gap: .65rem;
}

/* GS monogram block */
.logo-monogram {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.logo-g {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--white);
  letter-spacing: -.04em;
}

.logo-s {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--gold);
  letter-spacing: -.04em;
}

/* Vertical separator bar */
.logo-separator {
  width: 2px;
  height: 38px;
  background: var(--gold);
  flex-shrink: 0;
  border-radius: 2px;
}

/* Text stack: GLOBALYS / SOLUTIONS / tagline */
.logo-words {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 1px;
}

.logo-globalys {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
}

.logo-solutions {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold);
  text-transform: uppercase;
}

.logo-tagline-small {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .5rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-light);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .06);
}

.nav-btn {
  margin-left: .75rem;
  padding: .6rem 1.4rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================================
   HERO
   ======================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(13, 16, 32, .55) 0%,
      rgba(13, 16, 32, .72) 50%,
      rgba(13, 16, 32, .92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 2rem;
}

.hero-tagline {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding: .35rem 1rem;
  border: 1px solid rgba(245, 184, 0, .4);
  border-radius: 50px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .82);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: .85rem 2.2rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  padding: .85rem 2.2rem;
  border: 2px solid rgba(255, 255, 255, .6);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  position: relative;
}

.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 10px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
  }
}

/* ========================================================
   STATS BAR
   ======================================================== */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(245, 184, 0, .15);
  border-bottom: 1px solid rgba(245, 184, 0, .15);
  padding: 3rem 0;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-item .stat-suffix {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold);
}

.stat-item p {
  font-size: .9rem;
  color: var(--gray);
  margin-top: .4rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.stat-divider {
  width: 1px;
  height: 70px;
  background: rgba(245, 184, 0, .2);
}

/* ========================================================
   SHARED SECTION STYLES
   ======================================================== */
.section-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .3rem .9rem;
  background: rgba(245, 184, 0, .12);
  border: 1px solid rgba(245, 184, 0, .3);
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
}

/* ========================================================
   SAVOIR-FAIRE
   ======================================================== */
.savoir-faire {
  padding: 7rem 0;
  background: var(--bg-dark);
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.sf-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.sf-card:hover {
  border-color: rgba(245, 184, 0, .4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.sf-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 184, 0, .12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.sf-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sf-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.sf-card p {
  font-size: .95rem;
  color: var(--gray);
}

/* ========================================================
   CHAPITEAUX
   ======================================================== */
.chapiteaux {
  padding: 7rem 0;
  background: var(--navy-mid);
}

.chap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.chap-card {
  background: var(--navy-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.chap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.chap-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.chap-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}

.chap-card:hover .chap-img {
  transform: scale(1.06);
}

/* Real images from assets/images/products/ */
.chap-img-1 {
  background-image: url('../assets/images/products/chapiteau-bipente.png');
}

.chap-img-2 {
  background-image: url('../assets/images/products/structure-arquee.png');
}

.chap-img-3 {
  background-image: url('../assets/images/products/tente-stretch.png');
}

.chap-img-4 {
  background-image: url('../assets/images/products/structure-tipi.png');
}

.chap-img-5 {
  background-image: url('../assets/images/products/chapiteau-polygonal.png');
}

.chap-img-6 {
  background-image: url('../assets/images/products/structure-stockage.png');
}

/* Label inside placeholder */
.chap-img::after {
  content: attr(data-label);
}

.chap-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 16, 32, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.chap-img-wrap:hover .chap-overlay {
  opacity: 1;
}

.btn-sm {
  padding: .55rem 1.4rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  transition: background var(--transition), transform var(--transition);
}

.btn-sm:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.chap-info {
  padding: 1.5rem;
}

.chap-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.chap-info p {
  font-size: .9rem;
  color: var(--gray);
  margin-bottom: .75rem;
}

.chap-tag {
  font-size: .75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ========================================================
   RÉALISATIONS
   ======================================================== */
.realisations {
  padding: 7rem 0;
  background: var(--bg-dark);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: .5rem 1.3rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--gray-light);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}

.real-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.real-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.real-card.large {
  grid-column: span 2;
}

.real-card.hidden {
  display: none;
}

.real-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}

.real-card:hover .real-img {
  transform: scale(1.06);
}

.real-img-1 {
  background: linear-gradient(135deg, #5e3a3a 0%, #8e5a5a 50%, #3a1a1a 100%);
}

.real-img-2 {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a9e 50%, #0a1a3a 100%);
}

.real-img-3 {
  background: linear-gradient(145deg, #2a4a2e 0%, #3a7a4a 50%, #1a2a1e 100%);
}

.real-img-4 {
  background: linear-gradient(135deg, #4a3a1e 0%, #7a6a2e 50%, #2a1a0a 100%);
}

.real-img-5 {
  background: linear-gradient(135deg, #3a2a4e 0%, #5a4a7e 50%, #1a1a2e 100%);
}

.real-img-6 {
  background: linear-gradient(145deg, #1e3a4a 0%, #2d6a8e 50%, #0a1a2a 100%);
}

/* Overlay label */
.real-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(13, 16, 32, .95) 0%, transparent 100%);
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  transform: translateY(4px);
  transition: transform var(--transition);
}

.real-card:hover .real-info {
  transform: translateY(0);
}

/* ========================================================
   PROCESSUS
   ======================================================== */
.processus {
  padding: 7rem 0;
  background: var(--navy);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  background: var(--navy-mid);
  border: 1px solid rgba(245, 184, 0, .12);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.process-step:hover {
  border-color: rgba(245, 184, 0, .45);
  transform: translateY(-5px);
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(245, 184, 0, .2);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.process-step p {
  font-size: .88rem;
  color: var(--gray);
}

.process-arrow {
  font-size: 2rem;
  color: var(--gold);
  opacity: .4;
  margin-top: 4rem;
  flex-shrink: 0;
}

/* ========================================================
   DEVIS
   ======================================================== */
.devis {
  padding: 7rem 0;
  background: var(--bg-dark);
}

.devis-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.devis-info .section-title {
  text-align: left;
}

.devis-info .section-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.devis-info>p {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.devis-advantages {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.devis-advantages li {
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.check {
  width: 22px;
  height: 22px;
  background: rgba(245, 184, 0, .15);
  color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Form */
.devis-form {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: .05em;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: .75rem 1rem;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 184, 0, .12);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, .25);
}

select option {
  background: var(--navy-mid);
  color: var(--white);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: .5rem;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 1rem;
  background: rgba(245, 184, 0, .12);
  border: 1px solid rgba(245, 184, 0, .3);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 600;
}

.form-success.show {
  display: block;
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: #080B18;
  border-top: 1px solid rgba(245, 184, 0, .12);
  padding: 5rem 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  margin-bottom: .8rem;
}

.footer-tagline {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.footer-fallback {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.social-link:hover {
  background: rgba(245, 184, 0, .15);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.social-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--gray-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition);
}

.social-link:hover svg {
  stroke: var(--gold);
}

.footer-nav h4,
.footer-contact h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer-nav a {
  font-size: .9rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: .9rem;
  color: var(--gray);
  margin-bottom: .5rem;
}

.footer-contact strong {
  color: var(--white);
}

.footer-contact a {
  color: var(--gray);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .82rem;
  color: var(--gray);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: .82rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ========================================================
   BACK TO TOP
   ======================================================== */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-gold);
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .devis-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .real-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .real-card.large {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 16, 32, .98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-btn {
    font-size: 1rem;
    padding: .8rem 2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 0;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 700px) {

  .sf-grid,
  .chap-grid {
    grid-template-columns: 1fr;
  }

  .real-grid {
    grid-template-columns: 1fr;
  }

  .real-card.large {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .devis-form {
    padding: 1.75rem;
  }
}