/* ================================================
   UNE REINE, UN ROYAUME – Premium Patrimony Page
   Design System: White & Gold Luxury Aesthetic
   Inspired by: divana-recrutement.vercel.app
   ================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Gold Palette */
  --gold-light:   #f5e6b8;
  --gold:         #c9a84c;
  --gold-mid:     #b8922e;
  --gold-dark:    #8a6a1a;
  --gold-shine:   #f0d080;

  /* Neutral Palette */
  --white:        #ffffff;
  --off-white:    #fdfaf5;
  --warm-beige:   #f7f2ea;
  --warm-beige-2: #f0e9dc;
  --warm-gray-1:  #f5f3ee;
  --warm-gray-2:  #ece9e0;
  --warm-gray-3:  #d0ccc0;
  --text-dark:    #0a0805;
  --text-mid:     #1a1714;
  --text-light:   #2b2824;
  --text-subtle:  #4a4640;

  /* Accent */
  --border-gold:  rgba(201, 168, 76, 0.3);
  --shadow-gold:  rgba(201, 168, 76, 0.15);

  /* Typography */
  --font-serif:   'Cormorant Garamond', serif;
  --font-sans:    'Poppins', sans-serif;

  /* Spacing */
  --section-pad:  100px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;

  /* Transitions */
  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: var(--font-sans);
  background-color: transparent; /* Changed from #ffffff so the abstract background is visible */
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ===== ABSTRACT BACKGROUND ===== */
.bg-abstract-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    repeating-radial-gradient(circle at 80% -10%, transparent 0, transparent 60px, rgba(201, 168, 76, 0.15) 60px, rgba(201, 168, 76, 0.15) 62px),
    repeating-radial-gradient(circle at 10% 110%, transparent 0, transparent 80px, rgba(13, 59, 46, 0.1) 80px, rgba(13, 59, 46, 0.1) 82px),
    radial-gradient(circle at 15% 50%, rgba(201, 168, 76, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(13, 59, 46, 0.1) 0%, transparent 60%);
  background-size: 100% 100%;
}

@keyframes bgFloatPerf {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 100%; }
}

/* ===== SECTION REVEAL ANIMATION ===== */
.section-hidden {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--warm-gray-1); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-mid);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-label {
  justify-content: center;
}
.section-header .section-label::before {
  display: none;
}
.section-header .section-desc {
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::before {
  transform: translateX(0);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 50%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35), 0 0 0 4px rgba(201,168,76,0.12);
}

.btn-black {
  background: #0d1210;
  color: var(--gold-shine);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.btn-black:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(201, 168, 76, 0.4);
  background: #000000;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--warm-gray-3);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-mid);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease;
}

.navbar.scrolled .nav-container {
  padding: 14px 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.4s ease;
}

.navbar.scrolled .logo-brand {
  color: var(--text-dark);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.navbar.scrolled .nav-link {
  color: var(--text-mid);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav-link:hover::after { right: 0; }
.nav-link:hover { color: var(--gold); }

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 12, 8, 0.72) 0%,
    rgba(30, 22, 8, 0.55) 50%,
    rgba(15, 12, 8, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px 0;
  max-width: 820px;
  animation: heroFadeIn 1.2s ease-out 0.3s both;
}

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

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.badge-line {
  display: inline-block;
  width: 50px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.badge-text {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-shine));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.hero-actions .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 40px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.8), transparent);
}

.hero-scroll span {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ===== ABOUT SECTION – EDITORIAL ===== */
.about-section {
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray-2);
  overflow: hidden;
}

.about-top {
  padding: 90px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--warm-gray-2);
}

.about-label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.about-rule {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.about-label-row .about-rule:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.about-headline em {
  font-style: italic;
  color: var(--gold-mid);
}

.about-lead {
  max-width: 580px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.95;
  font-weight: 300;
}

/* Pillars */
.about-pillars-bar {
  padding: 0;
  background: var(--white);
}

.about-pillars-row {
  display: flex;
  align-items: stretch;
  position: relative;
}

.about-pillar {
  flex: 1;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  border-radius: 24px;
}

.about-pillar-divider {
  width: 1px;
  background: var(--warm-gray-2);
  margin: 32px 0;
  transition: opacity 0.4s ease;
}

.pillar-big-num {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.pillar-unit {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.pillar-sep {
  width: 32px;
  height: 1px;
  background: var(--warm-gray-3);
  margin: 0 auto 16px;
}

.pillar-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 200px;
  margin: 0 auto;
}

/* Marquee - Ultra Modern & Premium */
.about-manifesto {
  background: #0a0a0a;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.1em;
  padding: 0 30px;
  transition: all 0.5s ease;
  cursor: default;
}
.marquee-item:hover { 
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,168,76,0.4);
}

.marquee-sep {
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  color: var(--gold);
  opacity: 0.3;
}

/* ===== POSTES / OFFRES SECTION ===== */
.postes-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  position: relative;
}

.postes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.section-header {
  position: relative;
  margin-bottom: 150px; /* Forces the text to be much higher up and separated from the folders */
}

.postes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

@media (min-width: 1024px) {
  .postes-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 50px 30px; 
    margin-top: 80px; /* Safe spacing */
  }
}
/* Interactive Folder Layout for Homepage Cards */
.poste-folder {
  position: relative;
  width: 100%;
  height: 240px; /* Reduced height to make it horizontal/landscape */
  perspective: 1500px;
  cursor: pointer;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.poste-folder.is-open {
  z-index: 100; /* Pop out over other items in the pyramid grid */
}

.folder-back {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-dark);
  border-radius: 12px 12px 0 0;
  box-shadow: inset 0 20px 40px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Fiches blanches décoratives à l'intérieur du dossier (visibles même fermé) */
.folder-back::before,
.folder-back::after {
  content: '';
  position: absolute;
  bottom: 0;
  background: var(--white);
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(0,0,0,0.05);
  
  /* État initial pour l'animation (vient de très haut, tourne) */
  transform: translateY(-800px) rotate(90deg) scale(0.5);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Effet de rebond élastique */
}

.folder-back::before {
  left: 6%;
  width: 88%;
  height: 100%;
  z-index: 2;
}

.folder-back::after {
  left: 10%;
  width: 80%;
  height: 100%;
  z-index: 3;
}

/* État final animé */
.poste-folder.sheets-animated .folder-back::before {
  transform: translateY(-12px) rotate(-1.5deg);
  opacity: 1;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  transition-delay: 0.1s;
}

.poste-folder.sheets-animated .folder-back::after {
  transform: translateY(-22px) rotate(1.5deg);
  opacity: 1;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  transition-delay: 0.25s;
}

/* Hide decorative sheets when the folder is open to prevent overlap with the main card */
.poste-folder.is-open .folder-back::before,
.poste-folder.is-open .folder-back::after {
  opacity: 0;
  transform: translateY(0);
  transition-delay: 0s;
  transition: all 0.3s ease;
}

.folder-front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%; /* Lowered flap so the card doesn't need to go as high */
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  border-radius: 8px 8px 0 0;
  z-index: 10;
  transform-origin: bottom;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.folder-tab {
  position: absolute;
  top: -30px;
  left: 20px;
  padding: 8px 24px;
  background: var(--gold-light);
  border-radius: 8px 8px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.folder-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(0,0,0,0.1);
  padding: 10px 24px;
  border-radius: 20px;
  transition: opacity 0.3s;
}

.poste-folder:hover .folder-front {
  transform: rotateX(15deg);
}

.poste-folder.is-open .folder-front {
  transform: rotateX(70deg);
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.poste-folder.is-open .folder-label {
  opacity: 0;
}

.folder-sheets-container {
  position: absolute;
  bottom: 20px;
  left: 5%;
  width: 90%;
  height: calc(100% - 20px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.folder-sheet {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--warm-gray-2);
  border-radius: 8px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
  transform: translateY(0) scale(0.95);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
  transition-delay: calc(var(--i) * 0.05s);
  pointer-events: none;
  overflow: hidden;
}

.poste-folder.is-open .folder-sheet {
  opacity: 1;
  pointer-events: auto;
}

.poste-folder.is-open .combined-sheet {
  /* The whole card slides UP cleanly */
  transform: translateY(-130px) scale(1);
  transition-delay: 0.1s;
}

.sheet-img-wrap {
  width: 100%;
  height: 160px; /* Restored nice large image height */
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

/* Fix text layout inside sheet-content */
.sheet-content {
  display: flex;
  flex-direction: column;
  padding: 12px 16px; /* Reduced padding */
  gap: 8px; /* Reduced gap */
}

/* Compact typography inside the animated sheet */
.combined-sheet .poste-title {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.combined-sheet .poste-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.poste-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poste-badge-absolute {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-mid);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.poste-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 28px;
}

.poste-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}
.poste-title em {
  font-style: italic;
  color: var(--gold-mid);
}

.poste-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
  flex: 1;
}

.poste-details {
  list-style: none;
  margin-bottom: 20px;
  border-top: 1px solid var(--warm-gray-2);
  padding-top: 16px;
  flex: 1;
}

.poste-details li {
  font-size: 0.8rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 0;
}

.detail-icon {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 300;
  flex-shrink: 0;
}

.poste-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-mid);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}



.poste-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--text-dark);
  color: var(--white);
  border: 1px solid var(--text-dark);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.poste-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.poste-btn:hover::before {
  transform: translateX(0);
}

.poste-btn span {
  position: relative;
  z-index: 2;
}

.poste-btn:hover {
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.3);
}

/* ===== FORM SECTION ===== */
.form-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  display: block;
}

/* Sidebar */
.form-sidebar {
  background: linear-gradient(160deg, #0d3b2e 0%, #041a13 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: var(--white);
  position: sticky;
  top: 100px;
  box-shadow: 0 20px 40px rgba(13, 59, 46, 0.4), inset 0 1px 1px rgba(255,255,255,0.1);
  overflow: hidden;
}

/* Abstract element inside sidebar */
.form-sidebar::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(25, 142, 108, 0.25) 0%, transparent 40%);
  pointer-events: none;
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-shine);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  position: relative;
}

.sidebar-steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  position: relative;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  opacity: 0.5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.step--active {
  opacity: 1;
  transform: translateX(4px);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-shine);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step--active .step-num {
  background: linear-gradient(135deg, var(--gold), var(--gold-shine));
  border-color: transparent;
  color: #041a13;
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.6);
  transform: scale(1.15);
}

.step--done .step-num {
  background: rgba(25, 142, 108, 0.5);
  border-color: transparent;
  color: var(--white);
}
.step--done { opacity: 0.8; }

.step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.step-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.step-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.step-connector {
  width: 2px;
  height: 24px;
  background: rgba(201,168,76,0.25);
  margin-left: 17px;
  border-radius: 2px;
}

.sidebar-promise {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}

.promise-icon { font-size: 1.4rem; flex-shrink: 0; }

.sidebar-promise p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* Form Card */
.candidature-form {
  background: linear-gradient(to bottom right, #ffffff, #fafcfb);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 59, 46, 0.1);
  box-shadow: 0 20px 60px rgba(13, 59, 46, 0.12), 0 0 0 1px rgba(201, 168, 76, 0.05);
  overflow: hidden;
  position: relative;
}

/* Add a subtle top highlight to the form */
.candidature-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0d3b2e, var(--gold-mid), var(--gold-shine), #0d3b2e);
  background-size: 200% 100%;
  animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.form-step {
  padding: 40px 32px;
  animation: stepFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(30px) scale(0.98); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.form-step--hidden {
  display: none;
}

.form-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(13, 59, 46, 0.1);
}

.form-step-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: #0d3b2e;
  letter-spacing: -0.02em;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #0d3b2e;
  background: rgba(13, 59, 46, 0.06);
  border: 1px solid rgba(13, 59, 46, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(13, 59, 46, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}
.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d3b2e;
  display: flex;
  align-items: center;
  gap: 4px;
}

.required {
  color: #e63946;
  font-size: 1.2rem;
  font-weight: 900;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #0d3b2e;
  background: rgba(13, 59, 46, 0.02);
  border: 1px solid rgba(13, 59, 46, 0.15);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
  appearance: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230d3b2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
  cursor: pointer;
}

.form-textarea { 
  resize: vertical; 
  min-height: 120px; 
  line-height: 1.6;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(13, 59, 46, 0.4);
  font-weight: 400;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--gold-mid);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.08);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #0d3b2e;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 59, 46, 0.1), inset 0 1px 2px rgba(0,0,0,0.02);
  transform: translateY(-1px);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e74c3c;
  background: #fff5f5;
  box-shadow: 0 0 0 4px rgba(231,76,60,0.1);
}

/* Summary Box */
.summary-box {
  background: linear-gradient(135deg, #f2f7f5 0%, #ffffff 100%);
  border: 1px solid rgba(13, 59, 46, 0.15);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(13, 59, 46, 0.06);
  position: relative;
  overflow: hidden;
}

.summary-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-shine), var(--gold));
}

.summary-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #0d3b2e;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(13, 59, 46, 0.2);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.summary-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #0d3b2e;
}

/* Checkboxes */
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-mid);
  user-select: none;
  transition: all 0.3s ease;
}
.checkbox-item:hover .checkbox-custom {
  border-color: #0d3b2e;
  box-shadow: 0 4px 10px rgba(13, 59, 46, 0.1);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(13, 59, 46, 0.3);
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  margin-top: 2px;
  background: var(--white);
}

.checkbox-item input:checked + .checkbox-custom {
  background: #0d3b2e;
  border-color: #0d3b2e;
  box-shadow: 0 4px 10px rgba(13, 59, 46, 0.25);
}
.checkbox-item input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-shine);
  font-size: 0.9rem;
  font-weight: 700;
}

.consent-group {
  margin: 32px 0;
  padding: 24px;
  background: rgba(13, 59, 46, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 59, 46, 0.1);
}

.consent-check {
  align-items: flex-start;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Form Navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--warm-gray-2);
}

.btn-submit {
  min-width: 240px;
  justify-content: center;
  font-size: 0.8rem;
}

/* ===== SUCCESS CARD ===== */
.form-success {
  padding: 72px 48px;
  text-align: center;
  animation: stepFadeIn 0.5s ease-out both;
}

.success-emblem {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
}

.success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  animation: ringPulse 2.5s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
}

.success-checkmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--gold);
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.success-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.success-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 440px;
  margin: 0 auto 28px;
}

.success-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.success-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--warm-gray-1);
  border: 1px solid var(--warm-gray-2);
  border-radius: var(--radius-md);
}

.success-meta-icon { font-size: 1.4rem; flex-shrink: 0; }

.success-meta-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 2px;
}

.success-meta-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-mid);
  letter-spacing: 0.04em;
}

.success-divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
  margin: 0 auto 16px;
}

.success-note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-style: italic;
  margin-bottom: 32px;
}

/* ===== CONFIRMATION MODAL ===== */
.confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.confirm-modal {
  background: var(--white);
  border-radius: 20px;
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3), 0 0 0 1px var(--border-gold);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-overlay.active .confirm-modal {
  transform: scale(1) translateY(0);
}

.confirm-modal-emblem {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.confirm-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  animation: ringPulse 3s ease-in-out infinite;
}

.confirm-ring-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  background: radial-gradient(circle, rgba(201,168,76,0.1), transparent);
}

.confirm-star {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}

.confirm-modal-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.confirm-modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0;
}

.confirm-modal-subtitle {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-mid);
  margin-bottom: 20px;
}

.confirm-modal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.confirm-modal-divider span:first-child,
.confirm-modal-divider span:last-child {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--warm-gray-3);
}
.confirm-modal-divider .divider-diamond {
  font-size: 0.6rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  width: auto;
  height: auto;
  background: none;
}

.confirm-modal-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

.confirm-modal-ref {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 28px;
  background: var(--warm-gray-1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.confirm-ref-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.confirm-ref-value {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-mid);
  letter-spacing: 0.08em;
}

.confirm-modal-close {
  width: 100%;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 50%, var(--gold-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.confirm-modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-gold);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: var(--white);
  font-family: var(--font-sans);
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 20px;
}

.footer-logo-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  text-transform: lowercase;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.contact-icon {
  color: var(--gold);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--gold); }

.legal-sep {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about-pillars-row {
    flex-direction: column;
  }
  .about-pillar-divider {
    width: 100%;
    height: 1px;
    margin: 0 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }
  .container {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    gap: 16px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-link {
    color: var(--text-dark);
  }
  .navbar.scrolled .nav-link {
    color: var(--text-dark);
  }
  .nav-toggle {
    display: flex;
  }
  .logo-brand {
    color: var(--gold);
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .about-headline {
    font-size: 2rem;
  }
  .form-wrapper {
    grid-template-columns: 1fr;
  }
  .form-sidebar {
    position: static;
  }
  .form-step {
    padding: 20px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .postes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .about-headline {
    font-size: 1.6rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .confirm-modal {
    padding: 24px 16px;
    width: 90%;
  }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}
/* Dossier Grid Selection */
.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}
.dossier-card {
  display: block;
  cursor: pointer;
  position: relative;
}
.dossier-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.dossier-card-content {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: rgba(13, 59, 46, 0.02);
  border: 1px solid rgba(13, 59, 46, 0.15);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
}
.dossier-card-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: #0d3b2e;
  margin-bottom: 8px;
}
.dossier-card-price {
  font-size: 0.9rem;
  color: var(--gold-mid);
  font-weight: 500;
}
.dossier-card:hover .dossier-card-content {
  border-color: var(--gold-mid);
  box-shadow: 0 4px 15px rgba(201,168,76,0.1);
}
.dossier-card input:checked + .dossier-card-content {
  background: #0d3b2e;
  border-color: #0d3b2e;
  box-shadow: 0 8px 25px rgba(13,59,46,0.3);
  transform: translateY(-2px);
}
.dossier-card input:checked + .dossier-card-content .dossier-card-title {
  color: #ffffff;
}
.dossier-card input:checked + .dossier-card-content .dossier-card-price {
  color: var(--gold-shine);
}
@media (max-width: 600px) {
  .dossier-grid {
    grid-template-columns: 1fr;
  }
}
