/* ============================================
   CÉLIA BROUILLETTE — styles principaux
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* --- Variables --- */
:root {
  --navy:      #000E35;
  --navy-mid:  #0C2749;
  --blue-dark: #0043FF;
  --red:       #FF1200;
  --cream:     #F7F5EE;
  --sky:       #A3D4F2;
  --gray-dark: #232323;
  --white:     #ffffff;

  --font-serif: 'Cormorant Garamond', serif;  
  --font-sans:  'DM Sans', sans-serif;

  --max-width: 1200px; 
  --nav-height: 76px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; } 

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.6;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy); 
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--navy-mid);
}
.btn-primary {
  display: inline-block;
  background: var(--navy-mid);
  color: var(--cream);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--navy-mid);
  color: var(--navy-mid);
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--navy-mid); color: var(--cream); }

/* ============================================
   NAV
   ============================================ */
#navbar {
  position: fixed;             
  top: 0;  
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0,14,53,0.45);
  border-bottom: none;
  transition: background 0.4s, box-shadow 0.3s;
}
#navbar.scrolled {   
  background: rgba(0,14,53,0.95);
  border-bottom: 1px solid rgba(163,212,242,0.12);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3); 
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-menu a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.2s;   
}
.nav-menu a:hover { color: var(--sky); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  display: flex;
  border: 1px solid rgba(247,245,238,0.25);
  border-radius: 3px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button.active {
  background: rgba(247,245,238,0.15);
  color: var(--cream);
}
.nav-cta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(247,245,238,0.4);
  padding: 8px 18px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: var(--cream);
  color: var(--navy);
}

/* Hamburger for mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  padding-top: 0;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: kenburns 40s infinite;
  will-change: transform, opacity;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide:nth-child(4) { animation-delay: 24s; }
.hero-slide:nth-child(5) { animation-delay: 32s; }

@keyframes kenburns {
  0%   { opacity: 0; transform: scale(1.08); }
  5%   { opacity: 1; }
  18%  { opacity: 1; }
  25%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width); 
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center; 
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-content {
  background: rgba(0,14,53,0.45);
  padding: 48px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
	max-width: 700px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 3px; 
  text-transform: uppercase; 
  color: var(--sky); 
  margin-bottom: 20px;
  display: block;
  opacity: 0.85;
}
.hero-title { 
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05; 
  margin-bottom: 12px;
} 
.hero-title em { 
  font-style: italic;
  color: var(--cream);
  opacity: 0.85;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--sky);
  margin-bottom: 32px;
  line-height: 1.4;
}
.hero-desc {
  font-size: 17px;
  color: rgba(247,245,238,0.75);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 8px;
	  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.hero-actions .btn-primary {
  background: var(--cream);
  color: var(--navy);
}
.hero-actions .btn-primary:hover {
  background: var(--sky);
  color: var(--navy);
}
.hero-actions .btn-ghost {
  border-color: rgba(247,245,238,0.5);
  color: var(--cream);
}
.hero-actions .btn-ghost:hover {
  background: rgba(247,245,238,0.15);
  color: var(--cream);
  border-color: var(--cream);
}

/* Estimation card */
.hero-card {
  background: rgba(247,245,238,0.92);
  border-radius: 6px;
  padding: 32px;
}
.hero-card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 4px;
}
.hero-card-sub {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--navy-mid);
  opacity: 0.55;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.6;
  margin-bottom: 5px;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(12,39,73,0.2);
  border-radius: 3px;
  padding: 10px 14px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder { color: rgba(12,39,73,0.3); }
.form-group input:focus,
.form-group select:focus { border-color: var(--navy-mid); }
.select-type {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(12,39,73,0.2);
  border-radius: 3px;
  padding: 10px 14px;
  color: rgba(12,39,73,0.6);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
}
.select-type option { background: var(--white); color: var(--navy); }
.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 11px;
  letter-spacing: 2px;
  background: var(--navy);
  color: var(--cream);
}
.form-submit:hover { background: var(--navy-mid); }

/* ============================================
   STATS BAR
   ============================================ */
#stats {
  background: var(--navy);
  border-bottom: 1px solid rgba(163,212,242,0.1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 36px 40px;
  text-align: center;
  border-right: 1px solid rgba(163,212,242,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--sky); }
.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.55;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#about {
  /* Using your variables for consistency */
  background: var(--navy); 
  padding: 100px 0;           /* Increased to 100px for more 'blue' space top/bottom */
  overflow: hidden;
}

.about-wrapper {
  display: flex;             /* Switched to flex to fix the mobile layout issue */
  align-items: center;       /* Vertical centering */
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.about-text-block {  
  /* Drop to 10% transparency - very light tint */
  background: rgba(0, 67, 255, 0.1); 
  
  /* Keep the blur, but lower it slightly to let more light through */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* This thin white border is what makes it look like glass */
  border: 1px solid rgba(255, 255, 255, 0.1);

  /* Essential layout settings */
  padding: 50px;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-right: -80px;
  
  /* A lighter shadow so it doesn't look like a solid block */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text-block.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.about-text-block .eyebrow {
  color: var(--sky);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text-block .section-title {
  color: var(--cream);
  margin-top: 10px;
}

.about-text-block .section-title em {
  color: var(--sky);
  font-style: italic;
}

.about-body {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247,245,238,0.8);
  margin-bottom: 20px;
}

.about-text-block .btn-ghost {
  border: 1px solid rgba(247,245,238,0.4);
  padding: 12px 25px;
  color: var(--cream);
  align-self: flex-start;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-text-block .btn-ghost:hover {
  background: rgba(247,245,238,0.1);
  border-color: var(--cream);
}

.about-photo {
  flex: 1;                   /* Photo takes slightly less width than text */
  position: relative;
  height: 550px;             /* Fixed height to keep it consistent */
  overflow: hidden;
  border-radius: 4px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Mobile responsive fix */
@media (max-width: 992px) {
    .about-wrapper {
        flex-direction: column;
        padding: 0 30px;
    }
    .about-text-block {
        margin-right: 0;
        margin-bottom: -40px; 
        width: 100%;
        padding: 40px;
        order: 2;            /* Puts text below photo on mobile */
    }
    .about-photo {
        width: 100%;
        height: 400px;
        order: 1;            /* Puts photo on top on mobile */
    }
}
/* ============================================
   SERVICES
   ============================================ */
#services {
  padding: 100px 0;
  background: #F7F5EE; /* Section background (Cream) */
}

/* Section titles remain dark for legibility on the cream bg */
#services .eyebrow { 
  color: #000e35; 
  font-weight: 600;
  text-transform: uppercase;
}

#services .section-title { 
  color: #000e35; 
}

#services .section-title em { 
  color: #0043FF; /* Your vibrant blue accent */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Your Dark Navy Service Card */
.service-card {
  background: #000e35; /* Your Exact Navy */
  border: 1px solid rgba(247, 245, 238, 0.05);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 14, 53, 0.2);
}

.service-card:hover {
  transform: translateY(-8px);
  background: #00154d; /* Slightly lighter on hover to show depth */
  border-color: rgba(247, 245, 238, 0.3);
}

/* Icon and Title in Cream */
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 245, 238, 0.1); 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #F7F5EE; /* Your Exact Cream */
}

.service-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: #F7F5EE; /* Your Exact Cream */
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #F7F5EE; /* Your Exact Cream */
  opacity: 0.8;    /* Softened slightly for better reading flow */
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
} 
/* ============================================
   ARTICLES
   ============================================ */
#articles {
  padding: 100px 0;
  background: var(--navy); /* Deep Navy Background */
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

/* 1. Header Text Fix - Matches your <h2 class="section-title"> */
#articles .section-title, 
#articles .section-title em,
#articles .eyebrow {
  color: #F7F5EE !important; /* Forces the Beige color */
}

/* 2. "Voir tous les articles" Button Fix */
#articles .btn-ghost {
  color: #F7F5EE !important;
  border: 1px solid rgba(247, 245, 238, 0.4) !important;
  opacity: 1 !important;
  text-decoration: none;
}

#articles .btn-ghost:hover {
  background: rgba(247, 245, 238, 0.1);
  border-color: #F7F5EE !important;
}

/* --- Layout & Cards (Keep exactly as is) --- */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border: 1px solid rgba(12,39,73,0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-body { 
  padding: 24px; 
}

.article-tag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.5;
  margin-bottom: 10px;
}
.article-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-img-placeholder::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 1px solid rgba(163,212,242,0.3);
  border-radius: 50%;
}
.article-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.article-excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(12,39,73,0.65);
  margin-bottom: 16px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.article-source {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--cream);
  background: var(--navy-mid);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.article-meta {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.4;
  white-space: nowrap;
}
.article-link {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy-mid);
  font-family: var(--font-sans);
  font-weight: 500;
  transition: color 0.2s;
}
.article-link:hover { color: var(--blue-dark); }
.articles-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(247,245,238,0.4);
  font-size: 14px;
  padding: 40px 0;
}
/* ============================================
   AI CHAT WIDGET
   ============================================ */
#chat-section {
  padding: 100px 0;
  background: var(--navy);
}
#chat-section .eyebrow { color: var(--sky); opacity: 0.7; }
#chat-section .section-title { color: var(--cream); }
#chat-section .section-title em { color: var(--sky); }
.chat-wrapper {
  max-width: 680px;
  margin: 48px auto 0;
}
.chat-window {
  background: rgba(247,245,238,0.04);
  border: 1px solid rgba(163,212,242,0.15);
  border-radius: 8px;
  overflow: hidden;
}
.chat-header {
  background: rgba(163,212,242,0.06);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(163,212,242,0.12);
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 1px solid rgba(163,212,242,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--cream);
}
.chat-header-text .chat-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
}
.chat-header-text .chat-status {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.55;
}
.chat-messages {
  padding: 24px;
  min-height: 200px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.chat-msg.bot .chat-msg-bubble {
  background: rgba(163,212,242,0.1);
  color: var(--cream);
  border-radius: 2px 8px 8px 8px;
}
.chat-msg.user .chat-msg-bubble {
  background: var(--navy-mid);
  color: var(--cream);
  border-radius: 8px 2px 8px 8px;
}
.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(163,212,242,0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--sky);
  font-weight: 500;
}
.chat-input-area {
  padding: 16px 24px;
  border-top: 1px solid rgba(163,212,242,0.12);
  display: flex;
  gap: 10px;
}
.chat-input-area input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(163,212,242,0.15);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
}
.chat-input-area input::placeholder { color: rgba(163,212,242,0.3); }
.chat-send {
  background: var(--navy-mid);
  color: var(--cream);
  border: 1px solid rgba(163,212,242,0.2);
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s;
}
.chat-send:hover { background: rgba(12,39,73,0.8); }
.chat-disclaimer {
  font-size: 10px;
  text-align: center;
  color: rgba(163,212,242,0.35);
  padding: 12px 24px;
  letter-spacing: 0.5px;
}

/* ============================================
   POPUP / LEAD CAPTURE
   ============================================ */
#lead-popup {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,14,53,0.15);
  padding: 28px;
  width: 320px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
  border-top: 3px solid var(--navy-mid);
}
#lead-popup.visible { transform: translateY(0); opacity: 1; }
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--navy-mid);
  cursor: pointer;
  opacity: 0.4;
  line-height: 1;
}
.popup-close:hover { opacity: 1; }
.popup-eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.5;
  margin-bottom: 8px;
  display: block;
}
.popup-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.popup-feedback {
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
}
.popup-sub {
  font-size: 13px;
  color: var(--navy-mid);
  opacity: 0.65;
  margin-bottom: 20px;
  line-height: 1.6;
}
.popup-form input {
  width: 100%;
  border: 1px solid rgba(12,39,73,0.2);
  border-radius: 3px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 10px;
  outline: none;
}
.popup-form input:focus { border-color: var(--navy-mid); }
.popup-form .btn-primary { width: 100%; background: var(--navy); color: var(--cream); }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--navy);
  padding: 60px 0 0;
  border-top: 1px solid rgba(163,212,242,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}
.nav-remax-balloon {
  height: 36px;
  width: auto;
  opacity: 0.9;
}
.footer-brand-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}
.footer-remax-logotype {
  height: 80px;
  width: auto;
  opacity: 0.9;
  margin-top: 12px;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--sky);
  margin-bottom: 16px;
  line-height: 1.6;
  opacity: 0.8;
}
.footer-contact-info {
  font-size: 13px;
  color: rgba(163,212,242,0.75);
  line-height: 2.2;
}
.footer-col-title {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.7;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(163,212,242,0.75);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(163,212,242,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  font-size: 11px;
  color: rgba(163,212,242,0.5);
  line-height: 1.7;
}
.footer-oaciq {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(163,212,242,0.35);
}

/* ============================================
   INTERIOR PAGES
   ============================================ */
.page-header {
  background: var(--navy);
  padding: 140px 0 60px;
  text-align: center;
}
.page-header-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.6;
  margin-bottom: 16px;
}
.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
}
.page-content {
  background: var(--cream);
  padding: 80px 0 100px;
}
.prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.8;
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin: 48px 0 12px;
  color: var(--navy);
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--blue-dark); text-decoration: underline; }
.prose strong { font-weight: 600; }
.lang-fr, .lang-en { display: none; }
.lang-fr.active, .lang-en.active { display: block; }

/* ============================================
   COOKIE BANNER
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(163,212,242,0.15);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 1100;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-text {
  font-size: 13px;
  color: rgba(163,212,242,0.75);
  line-height: 1.6;
  margin: 0;
}
.cookie-text a {
  color: var(--sky);
  text-decoration: underline;
}
.cookie-text a:hover { color: var(--cream); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  white-space: nowrap;
  font-size: 11px;
  padding: 10px 18px;
}
@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
  }
  .cookie-actions { width: 100%; flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(163,212,242,0.1);
  padding: 24px 40px;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky);
  font-family: var(--font-sans);
}
.mobile-lang-toggle {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: 42px; }
  .hero-content { padding: 28px; }
  .section-title { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(163,212,242,0.08); }
  .articles-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  #lead-popup { right: 16px; left: 16px; width: auto; bottom: 16px; }
}

/* ============================================
   À PROPOS PAGE
   ============================================ */

/* --- Hero --- */
#ap-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ap-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../inspiration/reed-naliboff-TQ4T39d5vRM-unsplash.jpg');
  background-size: cover;
  background-position: center 40%;
}
.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,14,53,0.2) 0%, rgba(0,14,53,0.65) 100%);
}
.ap-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 56px;
  background: rgba(0, 14, 53, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2px;
}
.ap-hero-eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0;
  display: block;
  line-height: 1.15;
}
.ap-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 300;
  font-style: italic;
  color: var(--sky);
  line-height: 1.15;
}
.ap-hero-title em { font-style: normal; }
.ap-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cream);
  opacity: 0.45;
  animation: ap-scroll-bounce 2.2s ease-in-out infinite;
}
@keyframes ap-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 0.2; }
}

/* --- Pull quote --- */
#ap-quote {
  background: var(--cream);
  padding: 100px 40px;
  text-align: center;
}
.ap-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  max-width: 860px;
  margin: 0 auto;
  quotes: none;
}
.ap-quote-text::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--sky);
  margin: 0 auto 36px;
}

/* --- Story --- */
#ap-story {
  background: var(--cream);
  border-top: 1px solid rgba(0,14,53,0.07);
}
.ap-story-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: center;
}
#ap-story .eyebrow {
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  margin-bottom: 20px;
}
.ap-timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--navy-mid);
}
.ap-timeline-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sky);
  display: inline-block;
  flex-shrink: 0;
}
.ap-story-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--navy);
}
.ap-story-image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.ap-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Gallery strip --- */
#ap-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 380px;
  overflow: hidden;
}
.ap-gallery-img {
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
#ap-gallery:hover .ap-gallery-img { transform: scale(1.04); }
#ap-gallery .ap-gallery-img:hover { transform: scale(1.08); }

/* --- Profiles --- */
#ap-profiles {
  background: var(--cream);
  padding: 100px 0;
}
.ap-profiles-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 64px;
  align-items: start;
}
.ap-profile-divider {
  background: rgba(0,14,53,0.12);
  align-self: stretch;
  margin: 8px 0;
}
.ap-profile-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
}
.ap-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ap-profile-years {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 300;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}
.ap-profile-name {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.1;
}
.ap-profile-title {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.5;
  margin-bottom: 28px;
}
.ap-profile-bio {
  font-size: 17px;
  line-height: 1.85;
  color: var(--navy);
}

/* --- Motivation --- */
#ap-motivation {
  position: relative;
  background: var(--navy);
  padding: 120px 0;
  overflow: hidden;
}
.ap-motivation-bg {
  position: absolute;
  inset: 0;
  background-image: url('../inspiration/sebastien-gabriel--IMlv9Jlb24-unsplash.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.ap-motivation-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.ap-motivation-eyebrow {
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sky);
  opacity: 0.95;
  margin-bottom: 32px;
  display: block;
}
.ap-motivation-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto;
  quotes: none;
}

/* --- CTA --- */
#ap-cta {
  background: var(--cream);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(0,14,53,0.07);
}
.ap-cta-inner { text-align: center; }
.ap-cta-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 44px;
}

/* --- À propos responsive --- */
@media (max-width: 900px) {
  .ap-story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 40px;
  }
  .ap-story-image {
    aspect-ratio: 16/9;
    order: -1;
  }
  .ap-profiles-grid {
    grid-template-columns: 1fr;
  }
  .ap-profile-divider {
    width: auto;
    height: 1px;
    background: rgba(0,14,53,0.12);
    margin: 48px 0;
    align-self: auto;
  }
  #ap-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ap-gallery-img { height: 260px; }
  #ap-profiles { padding: 60px 0; }
  #ap-motivation { padding: 80px 0; }
  #ap-cta { padding: 60px 0; }
}
@media (max-width: 600px) {
  #ap-hero { min-height: 380px; }
  .ap-hero-eyebrow { font-size: 44px; }
  #ap-quote { padding: 60px 24px; }
  .ap-story-inner { padding: 40px 24px; }
}

/* ===================================
   VENDEURS PAGE (vd-*)
   =================================== */

/* --- Hero --- */
#vd-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vd-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.vd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,14,53,0.2) 0%, rgba(0,14,53,0.65) 100%);
}
.vd-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 56px;
  background: rgba(0, 14, 53, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2px;
}
.vd-hero-eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0;
  display: block;
  line-height: 1.15;
}
.vd-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 300;
  font-style: italic;
  color: var(--sky);
  line-height: 1.15;
}
.vd-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cream);
  opacity: 0.45;
  animation: ap-scroll-bounce 2.2s ease-in-out infinite;
}

/* --- Pull quote --- */
#vd-quote {
  background: var(--cream);
  padding: 100px 40px;
  text-align: center;
}
.vd-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  max-width: 860px;
  margin: 0 auto;
  quotes: none;
}
.vd-quote-text::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--sky);
  margin: 0 auto 36px;
}

/* --- Services grid --- */
#vd-services {
  background: var(--cream);
  border-top: 1px solid rgba(0,14,53,0.07);
  padding: 100px 0;
}
.vd-section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 60px;
  line-height: 1.2;
}
.vd-section-title--light {
  color: var(--cream);
}
.vd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vd-service-card {
  background: #fff;
  border-top: 3px solid var(--sky);
  padding: 36px 32px;
  border-radius: 2px;
}
.vd-service-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}
.vd-service-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--navy);
  opacity: 0.72;
  line-height: 1.75;
}
.vd-service-desc sup {
  font-size: 10px;
  vertical-align: super;
}

/* --- Gallery strip --- */
#vd-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 300px;
  overflow: hidden;
}
.vd-gallery-img {
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
#vd-gallery:hover .vd-gallery-img { transform: scale(1.04); }
#vd-gallery .vd-gallery-img:hover { transform: scale(1.08); }

/* --- Process steps --- */
#vd-process {
  background: var(--navy);
  padding: 100px 0;
}
#vd-process .eyebrow {
  color: var(--sky);
  opacity: 0.8;
}
.vd-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.vd-step {
  text-align: center;
}
.vd-step-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--sky);
  display: block;
  margin-bottom: 20px;
  opacity: 0.5;
  line-height: 1;
  letter-spacing: -1px;
}
.vd-step-title {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
  line-height: 1.5;
}
.vd-step-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(247, 245, 238, 0.65);
  line-height: 1.75;
}

/* --- CTA --- */
#vd-cta {
  background: var(--cream);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(0,14,53,0.07);
}
.vd-cta-inner {
  text-align: center;
}
.vd-cta-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 44px;
}
.vd-cta-remax {
  margin-top: 32px;
  font-size: 13px;
  color: var(--navy);
  opacity: 0.5;
  line-height: 1.7;
}
.vd-cta-remax a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Vendeurs responsive --- */
@media (max-width: 1100px) {
  .vd-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
  }
}
@media (max-width: 900px) {
  .vd-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .vd-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }
  #vd-gallery {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .vd-gallery-img { height: 220px; }
}
@media (max-width: 600px) {
  #vd-hero { min-height: 380px; }
  .vd-hero-eyebrow { font-size: 44px; }
  #vd-quote { padding: 60px 24px; }
  .vd-services-grid {
    grid-template-columns: 1fr;
  }
  .vd-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #vd-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  #vd-services { padding: 60px 0; }
  #vd-process { padding: 80px 0; }
  #vd-cta { padding: 60px 0; }
}

/* ============================================
   ACHETEURS PAGE — editorial layout
   ============================================ */

/* --- Hero --- */
#ac-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ac-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.ac-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,14,53,0.2) 0%, rgba(0,14,53,0.65) 100%);
}
.ac-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 56px;
  background: rgba(0, 14, 53, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2px;
}
.ac-hero-eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0;
  display: block;
  line-height: 1.15;
}
.ac-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: var(--sky);
  line-height: 1.35;
}
.ac-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cream);
  opacity: 0.45;
  animation: ap-scroll-bounce 2.2s ease-in-out infinite;
}

/* --- Intro --- */
#ac-intro {
  background: var(--cream);
  padding: 100px 40px;
  text-align: center;
}
.ac-intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  max-width: 780px;
  margin: 0 auto;
  quotes: none;
}
.ac-intro-quote::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--sky);
  margin: 0 auto 36px;
}

/* --- Expertise --- */
#ac-expertise {
  background: var(--navy);
  padding: 100px 0;
}
.ac-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.ac-expertise-col {
  padding: 0 52px;
  border-left: 1px solid rgba(163, 212, 242, 0.18);
}
.ac-expertise-col:first-child {
  border-left: none;
  padding-left: 0;
}
.ac-expertise-col:last-child {
  padding-right: 0;
}
.ac-expertise-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 300;
  color: var(--sky);
  margin-bottom: 20px;
  line-height: 1.2;
}
.ac-expertise-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--cream);
  opacity: 0.65;
  line-height: 1.85;
}
@media (max-width: 900px) {
  .ac-expertise-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ac-expertise-col {
    border-left: none;
    border-top: 1px solid rgba(163, 212, 242, 0.18);
    padding: 48px 0 0;
  }
  .ac-expertise-col:first-child {
    border-top: none;
    padding-top: 0;
    padding-left: 0;
  }
}
@media (max-width: 600px) {
  #ac-expertise { padding: 60px 0; }
}

/* --- Journey steps --- */
#ac-journey {
  background: #fff;
}
.ac-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.ac-step:nth-child(even) .ac-step-img { order: 2; }
.ac-step:nth-child(even) .ac-step-content { order: 1; }
.ac-step-img {
  background-size: cover;
  background-position: center;
  min-height: 460px;
}
.ac-step-content {
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.ac-step:nth-child(even) .ac-step-content {
  background: #fff;
}
.ac-step-num {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 300;
  color: var(--sky);
  line-height: 1;
  opacity: 0.4;
  margin-bottom: 20px;
  letter-spacing: -2px;
  display: block;
}
.ac-step-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.15;
}
.ac-step-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--navy);
  opacity: 0.72;
  line-height: 1.85;
  max-width: 440px;
}

/* --- CTA --- */
#ac-cta {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
}
.ac-cta-inner {
  text-align: center;
}
.ac-cta-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  margin-bottom: 44px;
}
.ac-cta-remax {
  margin-top: 32px;
  font-size: 13px;
  color: var(--cream);
  opacity: 0.45;
  line-height: 1.7;
}
.ac-cta-remax a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Acheteurs responsive --- */
@media (max-width: 900px) {
  .ac-step {
    grid-template-columns: 1fr;
  }
  .ac-step:nth-child(even) .ac-step-img,
  .ac-step:nth-child(even) .ac-step-content {
    order: unset;
  }
  .ac-step-img { min-height: 280px; }
  .ac-step-content { padding: 52px 40px; }
  .ac-step-desc { max-width: 100%; }
}
@media (max-width: 600px) {
  #ac-hero { min-height: 380px; }
  #ac-intro { padding: 60px 24px; }
  .ac-step-content { padding: 48px 24px; }
  .ac-step-num { font-size: 52px; }
  #ac-cta { padding: 60px 0; }
}

/* ============================================
   ARTICLES PAGE
   ============================================ */

#ar-masthead {
  padding: calc(var(--nav-height) + 40px) 0 0;
  background: var(--cream);
}
.ar-masthead-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: stretch;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(12,39,73,0.12);
}
.ar-masthead-image {
  background-size: cover;
  background-position: center;
  min-height: 420px;
  filter: grayscale(0.15) contrast(1.02);
}
.ar-masthead-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}
.ar-masthead-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(12,39,73,0.2);
  display: inline-block;
  align-self: flex-start;
}
.ar-masthead-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 68px;
  line-height: 1.02;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.ar-masthead-title em {
  font-style: italic;
  color: var(--blue-dark);
  font-weight: 300;
}
.ar-masthead-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(12,39,73,0.78);
  max-width: 560px;
  margin-bottom: 36px;
}
.ar-masthead-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.8;
}
.ar-masthead-rule {
  width: 32px;
  height: 1px;
  background: var(--navy-mid);
  opacity: 0.4;
}

/* --- Archive grid --- */
#ar-archive {
  padding: 72px 0 96px;
  background: var(--cream);
}
.ar-archive-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(12,39,73,0.12);
}
.ar-archive-header .eyebrow {
  color: var(--navy-mid);
}
.ar-archive-count {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.55;
}
.ar-archive-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.ar-archive-grid .articles-empty {
  color: rgba(12,39,73,0.5);
  padding: 60px 0;
}

/* --- Banner break --- */
#ar-banner {
  height: 320px;
  background-size: cover;
  background-position: center 55%;
  filter: brightness(0.85);
}

/* --- CTA --- */
#ar-cta {
  background: var(--navy);
  color: var(--cream);
  padding: 96px 0;
  text-align: center;
}
.ar-cta-inner {
  max-width: 760px;
}
.ar-cta-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 32px;
}
#ar-cta .btn-primary {
  margin-bottom: 28px;
}
.ar-cta-remax {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247,245,238,0.6);
  letter-spacing: 0.3px;
}
.ar-cta-remax a {
  color: var(--sky);
  border-bottom: 1px solid rgba(163,212,242,0.4);
}
.ar-cta-remax a:hover { border-bottom-color: var(--sky); }

@media (max-width: 900px) {
  .ar-masthead-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 60px;
  }
  .ar-masthead-image { min-height: 280px; order: -1; }
  .ar-masthead-title { font-size: 48px; }
  .ar-archive-grid { grid-template-columns: repeat(2, 1fr); }
  #ar-banner { height: 220px; }
}
@media (max-width: 600px) {
  #ar-masthead { padding-top: calc(var(--nav-height) + 24px); }
  .ar-masthead-inner { padding: 0 20px 48px; }
  .ar-masthead-title { font-size: 38px; }
  .ar-masthead-sub { font-size: 17px; }
  #ar-archive { padding: 48px 0 64px; }
  .ar-archive-grid { grid-template-columns: 1fr; }
  .ar-archive-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ar-cta-text { font-size: 22px; }
  #ar-cta { padding: 64px 0; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

#ct-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ct-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,14,53,0.35) 0%, rgba(0,14,53,0.55) 100%);
}
.ct-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 40px;
  padding: 40px 44px;
  background: rgba(247,245,238,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(247,245,238,0.22);
  border-radius: 6px;
  text-align: center;
}
.ct-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
  opacity: 0.85;
}
.ct-hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 60px;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.ct-hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--sky);
  line-height: 1.45;
  font-weight: 300;
}

/* --- Main grid --- */
#ct-main {
  padding: 96px 0;
  background: var(--cream);
}
.ct-main-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: flex-start;
}

/* --- Info column --- */
.ct-info {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.ct-info .eyebrow { color: var(--navy-mid); margin-bottom: 14px; }
.ct-info-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.ct-info-title {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(12,39,73,0.75);
  margin-bottom: 36px;
}
.ct-info-list { margin: 0 0 32px; }
.ct-info-row {
  padding: 16px 0;
  border-top: 1px solid rgba(12,39,73,0.12);
}
.ct-info-row:last-child { border-bottom: 1px solid rgba(12,39,73,0.12); }
.ct-info-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.65;
  margin-bottom: 4px;
}
.ct-info-row dd {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.45;
}
.ct-info-row dd a {
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.ct-info-row dd a:hover {
  color: var(--blue-dark);
  border-bottom-color: var(--blue-dark);
}
.ct-info-remax {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(12,39,73,0.6);
  line-height: 1.6;
}
.ct-info-remax a {
  color: var(--blue-dark);
  border-bottom: 1px solid rgba(0,67,255,0.3);
}
.ct-info-remax a:hover { border-bottom-color: var(--blue-dark); }

/* --- Form --- */
.ct-form-wrap .eyebrow { color: var(--navy-mid); margin-bottom: 14px; }
.ct-form-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 36px;
  letter-spacing: -0.3px;
}
.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.ct-field { display: flex; flex-direction: column; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
  opacity: 0.75;
  margin-bottom: 8px;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(12,39,73,0.18);
  border-radius: 3px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.ct-field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-sans);
  line-height: 1.55;
}
.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy-mid) 50%),
                    linear-gradient(135deg, var(--navy-mid) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(0,67,255,0.1);
}

.ct-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(12,39,73,0.8);
  margin-bottom: 28px;
  cursor: pointer;
}
.ct-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue-dark);
  flex-shrink: 0;
}
.ct-consent a {
  color: var(--blue-dark);
  border-bottom: 1px solid rgba(0,67,255,0.3);
}
.ct-consent a:hover { border-bottom-color: var(--blue-dark); }

.ct-submit {
  min-width: 220px;
}

.ct-form-status {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  min-height: 22px;
}
.ct-form-status.is-pending { color: var(--navy-mid); }
.ct-form-status.is-ok      { color: #0a7a2a; }
.ct-form-status.is-error   { color: var(--red); }

/* --- Map --- */
#ct-map {
  background: var(--navy);
  padding: 80px 0 0;
  color: var(--cream);
}
.ct-map-header { text-align: center; margin-bottom: 40px; }
.ct-map-header .eyebrow { color: var(--sky); }
.ct-map-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 38px;
  color: var(--cream);
  letter-spacing: -0.3px;
  margin-top: 8px;
}
.ct-map-frame {
  width: 100%;
  height: 440px;
  overflow: hidden;
  filter: grayscale(0.15);
}
.ct-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .ct-main-inner { grid-template-columns: 1fr; gap: 56px; }
  .ct-info { position: static; }
  .ct-hero-title { font-size: 46px; }
  .ct-hero-sub { font-size: 18px; }
  .ct-form-heading { font-size: 32px; }
  .ct-map-frame { height: 340px; }
}
@media (max-width: 600px) {
  #ct-hero { min-height: 360px; height: auto; padding: 100px 0 60px; }
  .ct-hero-content { margin: 0 20px; padding: 28px 24px; }
  .ct-hero-title { font-size: 38px; }
  .ct-hero-sub { font-size: 16px; }
  #ct-main { padding: 64px 0; }
  .ct-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .ct-info-name, .ct-form-heading { font-size: 30px; }
  #ct-map { padding: 56px 0 0; }
  .ct-map-heading { font-size: 28px; }
  .ct-map-frame { height: 280px; }
}