/* ============================================================
   LEROUX FABRICE MULTISERVICE — Refonte 2024
   Charte : Navy #1B2B4B · Or #E8A020 · Blanc #FFFFFF
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --navy:       #1B2B4B;
  --navy-light: #243659;
  --gold:       #E8A020;
  --gold-light: #F5B940;
  --gold-pale:  #FFF4DC;
  --white:      #FFFFFF;
  --gray-light: #F7F8FA;
  --gray-mid:   #E8ECF0;
  --text:       #2C3E50;
  --text-muted: #6B7A8D;
  --blue-soft:  #D8EAF5;

  --font-body:  'Poppins', sans-serif;
  --font-hand:  'Caveat', cursive;

  --shadow-sm:  0 2px 12px rgba(27,43,75,.08);
  --shadow-md:  0 6px 30px rgba(27,43,75,.14);
  --shadow-lg:  0 16px 48px rgba(27,43,75,.20);

  --radius:     12px;
  --radius-lg:  20px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-weight: 700; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.handwriting {
  font-family: var(--font-hand);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section { padding: 90px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: .5px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,.4);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,43,75,.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ---------- Section Labels ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title-center { text-align: center; }
.section-title-center .handwriting { display: block; margin-bottom: 8px; }

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--navy);
  padding: 10px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.topbar-left a:hover { color: var(--gold); }
.topbar-left i { color: var(--gold); font-size: .9rem; }

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: .85rem;
}
.topbar-socials a:hover { background: var(--gold); color: var(--navy); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  padding: 16px 0;
  box-shadow: 0 2px 20px rgba(27,43,75,.08);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(27,43,75,.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-box {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.logo-box::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--gold);
  opacity: .3;
}
.logo-lfm {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  z-index: 1;
}
.logo-lfm span { color: var(--gold); }
.logo-text { line-height: 1.2; }
.logo-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--navy);
}
.logo-text small {
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .5px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.active {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.nav-links a.active:hover { background: var(--navy-light); color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .25;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }

.hero-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.hero-shape svg { display: block; }

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 160px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge i { font-size: .7rem; }

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title .gold { color: var(--gold); }

.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 48px;
}
.hero-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat span {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  display: block;
}

.hero-card {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.hero-photo-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-light) 0%, #0d1b35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo-bg i {
  font-size: 5rem;
  color: rgba(255,255,255,.2);
}

.hero-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 12px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 90px;
}
.hero-photo-badge strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}
.hero-photo-badge span {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  margin-bottom: 3px;
  text-align: center;
  width: 100%;
}

/* ---------- ABOUT PREVIEW (home) ---------- */
.about-preview {
  background: var(--white);
  overflow: hidden;
}
.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.about-img-main img { width:100%; height:100%; object-fit:cover; }
.about-img-main .img-placeholder {
  width:100%; height:100%;
  background: linear-gradient(135deg,#e0e8f0,#c8d8e8);
  display:flex; align-items:center; justify-content:center;
}
.about-img-main .img-placeholder i { font-size:4rem; color:rgba(27,43,75,.2); }

.about-img-badge {
  position: absolute;
  top: 24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-img-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}
.about-img-badge span { font-size: .75rem; opacity: .8; }

.about-img-chip {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-img-chip i { font-size: 1.2rem; }
.about-img-chip div strong { display: block; font-size: .85rem; font-weight: 700; }
.about-img-chip div span { font-size: .72rem; }

.about-content .section-label { margin-bottom: 8px; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }
.about-content p strong { color: var(--navy); }

.about-checks {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
}
.about-checks li i {
  width: 24px;
  height: 24px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ---------- PROCESS ---------- */
.process { background: var(--gray-light); }
.process .container { text-align: center; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 0;
}
.process-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.process-number {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
}
.process-card h3 { color: var(--gold); margin-bottom: 12px; font-size: 1.05rem; }
.process-card p { color: var(--text-muted); font-size: .9rem; }

/* ---------- STATS ---------- */
.stats { background: var(--navy); padding: 70px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--navy);
  padding: 50px 30px;
  text-align: center;
  transition: var(--transition);
}
.stat-item:hover { background: var(--navy-light); }
.stat-number {
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-icon {
  width: 54px;
  height: 54px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto;
  color: var(--gold);
  font-size: 1.3rem;
}
.stat-label {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---------- SERVICES (home preview) ---------- */
.services-preview { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--gray-mid);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-img img { width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-img .img-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
}
.service-img .img-placeholder.p1 { background: linear-gradient(135deg,#c8d0e0,#a8b8d0); }
.service-img .img-placeholder.p2 { background: linear-gradient(135deg,#d0c8d8,#b8a8c8); }
.service-img .img-placeholder.p3 { background: linear-gradient(135deg,#c8d8c0,#a8c8a0); }
.service-img .img-placeholder i { font-size:3.5rem; color:rgba(27,43,75,.25); }

.service-body {
  padding: 28px 24px 32px;
}
.service-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--navy);
}
.service-body h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.15rem; }
.service-body p { color: var(--text-muted); font-size: .88rem; line-height: 1.65; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--gray-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: .8;
  color: var(--gold);
  opacity: .3;
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: 16px;
}
.testimonial-text {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-info strong {
  display: block;
  color: var(--navy);
  font-size: .9rem;
}
.testimonial-info span {
  font-size: .78rem;
  color: var(--text-muted);
}

.testimonials-cta {
  text-align: center;
  margin-top: 44px;
}
.testimonials-cta .btn i { font-size: .9rem; }

/* ---------- MAP SECTION ---------- */
.map-section { padding: 0; }
.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  filter: hue-rotate(0deg) saturate(1.1);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--gold);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 48px;
}
.footer-brand p {
  color: rgba(27,43,75,.75);
  font-size: .88rem;
  margin: 16px 0 24px;
  line-height: 1.7;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-box {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-box .logo-lfm { font-size: 1.2rem; }
.footer-logo-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 800;
  color: var(--navy);
}
.footer-logo-text small {
  font-size: .65rem;
  color: rgba(27,43,75,.65);
  letter-spacing: .5px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(27,43,75,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--navy);
  color: var(--gold);
}

.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(27,43,75,.75);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--navy); padding-left: 4px; }
.footer-links a::before {
  content: '›';
  font-size: 1rem;
  color: var(--navy);
  opacity: .5;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item strong {
  display: block;
  font-size: .8rem;
  color: var(--navy);
  font-weight: 700;
}
.footer-contact-item span {
  font-size: .85rem;
  color: rgba(27,43,75,.75);
}
.footer-contact-item a {
  font-size: .85rem;
  color: rgba(27,43,75,.75);
  transition: color .2s;
}
.footer-contact-item a:hover { color: var(--navy); }

.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(27,43,75,.15);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(27,43,75,.65);
}
.footer-bottom a {
  font-size: .82rem;
  color: rgba(27,43,75,.75);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--navy); }

/* ---------- PAGE HERO ---------- */
.page-hero {
  background: var(--navy);
  padding: 130px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/page-hero-bg.jpg') center/cover no-repeat;
  opacity: .15;
}
.page-hero-decoration {
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle at center, rgba(232,160,32,.15), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb i { font-size: .7rem; color: var(--gold); }
.page-hero .breadcrumb span { color: var(--gold); font-weight: 600; }

/* ---------- SERVICES PAGE ---------- */
.services-main { background: var(--white); }

.expertise-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.expertise-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/expertise-bg.jpg') center/cover no-repeat;
  opacity: .08;
}
.expertise-section .container { position: relative; z-index: 2; }
.expertise-section .handwriting { color: var(--gold); display: block; margin-bottom: 8px; }
.expertise-section h2 { color: var(--white); margin-bottom: 24px; }
.expertise-section p { color: rgba(255,255,255,.75); margin-bottom: 16px; font-size: .95rem; line-height: 1.8; }
.expertise-section p strong { color: var(--gold); }
.expertise-section .btn { margin-top: 16px; }

.expertise-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.expertise-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.expertise-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.expertise-card-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 1rem;
}
.expertise-card h4 { color: var(--white); font-size: .9rem; margin-bottom: 5px; }
.expertise-card p  { color: rgba(255,255,255,.65); font-size: .82rem; line-height: 1.55; margin: 0; }

/* Footer logo image */
.footer-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ---------- ABOUT PAGE ---------- */
.about-page .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.about-page-img {
  position: sticky;
  top: 100px;
}
.about-page-img .img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
}
.about-page-img .img-wrap img { width:100%; height:100%; object-fit:cover; }
.about-page-img .img-wrap .img-placeholder {
  width:100%; height:100%;
  background: linear-gradient(135deg,#d0d8e4,#b8c4d4);
  display:flex; align-items:center; justify-content:center;
}
.about-page-img .img-wrap .img-placeholder i { font-size:5rem; color:rgba(27,43,75,.2); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin: 40px 0;
}
.pillar-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.pillar-card:hover {
  background: var(--gold-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.pillar-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.pillar-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.proximity-section {
  background: var(--blue-soft);
  padding: 80px 0;
}
.proximity-section .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.proximity-section .handwriting { color: var(--gold); }
.proximity-section h2 { margin-bottom: 20px; }
.proximity-section p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.proximity-section p strong { color: var(--navy); }
.proximity-section .btn { margin-top: 8px; }

.proximity-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.proximity-img img { width:100%; height:100%; object-fit:cover; }
.proximity-img .img-placeholder {
  width:100%; height:100%;
  background: linear-gradient(135deg,#c0ccd8,#a0b0c0);
  display:flex; align-items:center; justify-content:center;
}
.proximity-img .img-placeholder i { font-size:4rem; color:rgba(27,43,75,.2); }

/* ---------- BLOG PAGE ---------- */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 56px;
}
.blog-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.blog-card-img {
  overflow: hidden;
  position: relative;
}
.blog-card-img img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img .img-placeholder {
  width:100%; height:100%; min-height: 280px;
  display:flex; align-items:center; justify-content:center;
}
.blog-card-img .img-placeholder.b1 { background: linear-gradient(135deg,#c8d8e0,#a0b8c8); }
.blog-card-img .img-placeholder.b2 { background: linear-gradient(135deg,#d0c0b8,#b8a098); }
.blog-card-img .img-placeholder i { font-size:4rem; color:rgba(27,43,75,.25); }

.blog-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.blog-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.blog-card-meta i { color: var(--gold); }
.blog-card-body h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 14px;
  line-height: 1.35;
  color: var(--navy);
}
.blog-card-body h2:hover { color: var(--gold); cursor: pointer; }
.blog-card-body p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
}
.blog-read-more:hover { gap: 14px; }
.blog-read-more i { transition: var(--transition); }

/* ---------- CONTACT PAGE ---------- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  margin-top: 56px;
}

.contact-info-header h2 { margin-bottom: 12px; }
.contact-info-header p { color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }

.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-info-item:hover { background: var(--gold-pale); }
.contact-info-item .ci-icon {
  width: 50px;
  height: 50px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item strong {
  display: block;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info-item span, .contact-info-item a {
  font-size: .9rem;
  color: var(--text-muted);
  transition: color .2s;
}
.contact-info-item a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: .3px;
}
.form-group label span { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,160,32,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bac8; }
.form-group textarea { height: 140px; }

.form-submit { margin-top: 8px; width: 100%; justify-content: center; }

.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: .9rem;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,160,32,.1), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 36px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- SCROLL ANIMATIONS ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"] { transform: scale(.92); }
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(232,160,32,.4);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,43,75,.6);
  z-index: 998;
  backdrop-filter: blur(3px);
}

/* ---------- RESPONSIVE ---------- */

/* ── 1024px : tablette paysage ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding: 100px 0 120px; }
  .hero-card { display: none; }
  .hero-desc { max-width: 100%; }

  .about-preview .container { grid-template-columns: 1fr; gap: 50px; }
  .about-img-badge { right: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .blog-card { grid-template-columns: 280px 1fr; }

  .expertise-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-page .container { gap: 50px; }
  .proximity-section .container { gap: 50px; }
}

/* ── 900px : tablette portrait ── */
@media (max-width: 900px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid          { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid      { grid-template-columns: 1fr; gap: 40px; }
  .about-page .container { grid-template-columns: 1fr; }
  .about-page-img      { position: static; }
  .proximity-section .container { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }
  .pillars-grid        { grid-template-columns: repeat(2,1fr); }
}

/* ── 768px : mobile ── */
@media (max-width: 768px) {
  section { padding: 60px 0; }

  /* Topbar simplifié */
  .topbar .container { flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
  .topbar-left { gap: 14px; flex-wrap: nowrap; }
  .topbar-left a:last-child { display: none; } /* cache la localisation */

  /* Nav mobile slide-in */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 28px 28px;
    gap: 4px;
    z-index: 999;
    box-shadow: -4px 0 40px rgba(27,43,75,.2);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { width: 100%; padding: 12px 16px; border-radius: var(--radius); font-size: .95rem; }
  .nav-overlay.open { display: block; }
  .hamburger { display: flex; }

  /* Hamburger → X animation */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero .container { padding: 80px 0 100px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stat { padding: 14px 10px; }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-stat span { font-size: .7rem; }

  /* Grilles */
  .process-grid        { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .services-grid       { grid-template-columns: 1fr !important; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; gap: 28px; }
  .pillars-grid        { grid-template-columns: 1fr; }

  /* Services page */
  .service-img         { height: 200px; }
  .service-body        { padding: 20px 18px 24px; }
  .expertise-section   { padding: 60px 0; }
  .expertise-card      { padding: 16px; gap: 12px; }
  .expertise-card-icon { width: 36px; height: 36px; font-size: .9rem; }

  /* Sections texte */
  .cta-banner          { padding: 60px 0; }
  h2                   { font-size: clamp(1.4rem, 4vw, 2rem); }
  h3                   { font-size: clamp(1rem, 3vw, 1.3rem); }

  /* Blog */
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img { min-height: 220px; }
  .blog-card-body { padding: 28px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Pages intérieures */
  .proximity-section .container { grid-template-columns: 1fr; }
  .about-page .container { grid-template-columns: 1fr; }
  .about-page-img { position: static; }
  .pillars-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
}

/* ── 480px : très petit mobile ── */
@media (max-width: 480px) {
  section { padding: 48px 0; }

  /* Topbar ultra réduit : cacher email aussi, garder seulement tél */
  .topbar-left a:nth-child(2) { display: none; }
  .topbar-socials { gap: 8px; }
  .topbar-socials a { width: 26px; height: 26px; font-size: .78rem; }

  /* Hero */
  .hero .container { padding: 70px 0 90px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stat { padding: 12px 6px; }
  .hero-stat strong { font-size: 1.3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; width: 100%; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 36px 20px; }

  /* About image floating badges → inline */
  .about-img-badge { position: static; margin-top: 16px; display: inline-block; }
  .about-img-chip { position: static; margin-top: 12px; display: inline-flex; }

  /* CTA banner */
  .cta-banner .btn-actions { flex-direction: column; align-items: stretch; }
  .cta-banner .btn-actions .btn { text-align: center; justify-content: center; }

  /* Navbar logo */
  .navbar-logo-img { height: 44px; }

  /* Services page 480px */
  .services-grid       { grid-template-columns: 1fr !important; }
  .service-img         { height: 180px; }

  /* Expertise cards */
  .expertise-card      { flex-direction: column; gap: 10px; }
  .expertise-card-icon { width: 40px; height: 40px; }

  /* Blog */
  .blog-card-body      { padding: 20px 18px; }

  /* Contact */
  .contact-form-wrap   { padding: 24px 16px; }
  .form-row            { grid-template-columns: 1fr; }
}
