/* ═══════════════════════════════════════════
   ATELIER CORDEIRO — Design System
   Fonts: Playfair Display + Inter
   Colors: #1A1A1A, #FFF, #F5F5F5, #8C8C8C, #D4D0CC
   ═══════════════════════════════════════════ */

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1A1A1A;
  background: #fff;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 2px; }
img { max-width: 100%; display: block; }

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 400;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.3s ease; white-space: nowrap;
}
.btn-primary { background: #1A1A1A; color: #fff; padding: 14px 28px; }
.btn-primary:hover { background: #333; }
.btn-secondary { background: transparent; color: #1A1A1A; padding: 14px 28px; border: 1.5px solid #1A1A1A; }
.btn-secondary:hover { background: #1A1A1A; color: #fff; }
.btn-white { background: #fff; color: #1A1A1A; padding: 14px 28px; }
.btn-white:hover { background: #F5F5F5; }
.btn-full { width: 100%; }

/* ─── Navigation ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.nav-logo-img { height: 34px; width: auto; display: block; }
.nav-logo-atelier {
  font-family: 'Playfair Display', Georgia, serif; font-size: 10px;
  letter-spacing: 5px; color: #8C8C8C; text-transform: uppercase;
}
.nav-logo-cordeiro {
  font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 200;
  letter-spacing: 6px; text-transform: uppercase; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a, .nav-dropdown > .nav-dropdown-trigger {
  font-size: 12px; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; color: #8C8C8C; transition: color 0.2s;
  cursor: pointer; background: none; border: none; font-family: inherit;
  padding: 0; display: inline-flex; align-items: center; gap: 4px;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-dropdown:hover > .nav-dropdown-trigger { color: #1A1A1A; }
.nav-cta {
  font-size: 11px; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; white-space: nowrap;
  background: #1A1A1A; color: #fff; padding: 12px 28px; transition: background 0.2s;
}
.nav-cta:hover { background: #333; }

/* Dropdown arrow */
.nav-dropdown-arrow {
  width: 8px; height: 8px; border: none; display: inline-block;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(-135deg); }

/* Dropdown container */
.nav-dropdown { position: relative; }
.nav-mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 20px; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.nav-dropdown:hover .nav-mega { opacity: 1; visibility: visible; }

/* Mega menu panel */
.nav-mega-panel {
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
  padding: 36px 40px; display: flex; gap: 48px; min-width: max-content;
}
.nav-mega-col { min-width: 180px; }
.nav-mega-col h6 {
  font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: #1A1A1A; margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid #F0F0F0;
}
.nav-mega-col a {
  display: block; font-size: 13px; font-weight: 300; color: #666;
  text-transform: none; letter-spacing: 0; padding: 6px 0; transition: color 0.2s;
}
.nav-mega-col a:hover { color: #1A1A1A; }

/* Mobile toggle */
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile-toggle span {
  display: block; width: 24px; height: 1.5px; background: #1A1A1A;
  margin: 5px 0; transition: all 0.3s;
}

/* Mobile mega menu */
@media (max-width: 768px) {
  .nav-mega { display: none; }
}

/* ─── Page Hero ─── */
.page-hero {
  min-height: 50vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding-top: 72px; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
/* Parallax : image sur-dimensionnée (marge haut/bas) pour éviter les bords lors du translate */
.page-hero-bg.parallax-on {
  top: -14%; bottom: -14%; will-change: transform;
}
.page-hero-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.5); }
.page-hero-light { background: #F5F5F5; }
.page-hero-content { position: relative; z-index: 1; padding: 60px 40px; max-width: 800px; }
.page-hero-content .section-label { margin-bottom: 16px; }
.page-hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 48px;
  font-weight: 400; line-height: 1.15; margin-bottom: 16px;
}
.page-hero-dark h1, .page-hero-dark p, .page-hero-dark .section-label { color: #fff; }
.page-hero-dark .section-label { color: rgba(255,255,255,0.7); }
.page-hero-content p.hero-subtitle {
  font-size: 17px; font-weight: 300; color: #666; line-height: 1.8; max-width: 600px; margin: 0 auto;
}
.page-hero-dark p.hero-subtitle { color: rgba(255,255,255,0.8); }

/* ─── Full Hero (homepage) ─── */
.hero-full {
  min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero-full-bg { position: absolute; inset: 0; background: #F5F5F5; }
.hero-full-content {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 40px; padding-top: 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: 100%;
}
.hero-full-text h1 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 56px;
  font-weight: 400; line-height: 1.15; margin-bottom: 24px;
}
.hero-full-text p { font-size: 17px; font-weight: 300; color: #666; line-height: 1.8; margin-bottom: 40px; max-width: 460px; }
.hero-full-buttons { display: flex; gap: 12px; flex-wrap: nowrap; }
.hero-full-image {
  aspect-ratio: 3/4; background-size: cover; background-position: center;
}

/* ─── Section Helpers ─── */
.section { padding: 120px 0; }
.section-grey { background: #F5F5F5; }
.section-dark { background: #1A1A1A; color: #fff; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-label {
  font-size: 11px; font-weight: 400; letter-spacing: 5px;
  text-transform: uppercase; color: #8C8C8C; margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif; font-size: 42px;
  font-weight: 400; line-height: 1.2;
}

/* ─── Split Layout ─── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-reversed .split-image { order: 2; }
.split-reversed .split-text { order: 1; }
.split-image {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  overflow: hidden; min-height: 360px;
}
.split-text h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 32px;
  font-weight: 400; margin-bottom: 20px;
}
.split-text h3 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 24px;
  font-weight: 400; margin-bottom: 16px;
}
.split-text p { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 24px; }
.split-label {
  font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: #8C8C8C; margin-bottom: 12px;
}

/* ─── Service Cards (homepage) ─── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  border: 1px solid #F0F0F0; transition: all 0.3s ease; overflow: hidden;
  display: flex; flex-direction: column;
}
.card:hover { border-color: #D4D0CC; box-shadow: 0 12px 48px rgba(0,0,0,0.06); transform: translateY(-4px); }
.card-img-wrap { overflow: hidden; }
.card-img {
  width: 100%; height: 220px; background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.card:hover .card-img { transform: scale(1.03); }
.card-content { padding: 36px; flex: 1; display: flex; flex-direction: column; }
.card-content h3 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 22px;
  font-weight: 400; margin-bottom: 12px;
}
.card-content p { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 20px; flex: 1; }
.card-link {
  font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; color: #1A1A1A; transition: color 0.2s;
}
.card-link:hover { color: #8C8C8C; }

/* ─── Icon (SVG line icons) ─── */
.icon { width: 48px; height: 48px; margin-bottom: 24px; }
.icon svg { width: 48px; height: 48px; stroke: #1A1A1A; fill: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.section-dark .icon svg { stroke: #fff; }

/* ─── Project Grid (réalisations) ─── */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { cursor: pointer; }
.project-img-wrap { overflow: hidden; position: relative; }
.project-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,26,26,0); transition: background 0.3s ease;
}
.project-card:hover .project-img-wrap::after { background: rgba(26,26,26,0.08); }
.project-img {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.project-card:hover .project-img { transform: scale(1.03); }
.project-info { padding: 20px 0; }
.project-info h4 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 20px;
  font-weight: 400; margin-bottom: 4px;
}
.project-info p { font-size: 13px; color: #8C8C8C; }

/* ─── Gallery Row ─── */
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { overflow: hidden; }
.gallery-img {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.03); }

/* ─── Process Steps ─── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.process-step { text-align: center; }
.process-number {
  font-family: 'Playfair Display', Georgia, serif; font-size: 72px;
  font-weight: 400; color: #1A1A1A; line-height: 1; margin-bottom: 20px;
  opacity: 0.15;
}
.process-step h4 {
  font-size: 14px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px;
}
.process-step p { font-size: 14px; color: #8C8C8C; line-height: 1.7; }

/* ─── Stats Bar ─── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; text-align: center; }
.stat h3 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 48px;
  font-weight: 400; margin-bottom: 8px;
}
.stat p { font-size: 12px; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; color: #8C8C8C; }

/* ─── Testimonial ─── */
.testimonial { max-width: 700px; margin: 0 auto; text-align: center; }
.testimonial-quote {
  font-family: 'Playfair Display', Georgia, serif; font-size: 24px;
  font-weight: 400; font-style: italic; line-height: 1.6; margin-bottom: 32px; color: #333;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after { content: '\201D'; }
.testimonial-author { font-size: 14px; font-weight: 500; }
.testimonial-role { font-size: 13px; color: #8C8C8C; margin-top: 4px; }

/* ─── CTA Section ─── */
.cta-section { padding: 120px 0; text-align: center; }
.cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 42px;
  font-weight: 400; margin-bottom: 16px;
}
.cta-section p { font-size: 17px; color: #8C8C8C; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Service List (for detail pages) ─── */
.service-list { list-style: none; margin-bottom: 32px; }
.service-list li {
  padding: 12px 0; border-bottom: 1px solid #F0F0F0;
  font-size: 15px; color: #444; padding-left: 28px; position: relative;
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 16px; height: 1px; background: #D4D0CC;
}

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid #F0F0F0; padding: 24px 0; }
.faq-question { font-size: 17px; font-weight: 500; margin-bottom: 12px; cursor: pointer; }
.faq-answer { font-size: 15px; color: #666; line-height: 1.8; }

/* ─── Forms ─── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: #8C8C8C; margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 300; border: 1px solid #D4D0CC;
  background: #fff; color: #1A1A1A; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #1A1A1A; outline: none; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: #8C8C8C; margin-top: 12px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section-title {
  font-family: 'Playfair Display', Georgia, serif; font-size: 20px;
  font-weight: 400; margin-bottom: 24px; margin-top: 48px;
}
.form-section-title:first-child { margin-top: 0; }

/* Checkboxes */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-label {
  display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-box {
  width: 20px; height: 20px; border: 1.5px solid #D4D0CC; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.checkbox-label input:checked + .checkbox-box { background: #1A1A1A; border-color: #1A1A1A; }
.checkbox-label input:checked + .checkbox-box::after {
  content: ''; width: 6px; height: 10px; border: solid #fff;
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-top: -2px;
}

/* ─── Contact Info ─── */
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-icon svg { width: 24px; height: 24px; stroke: #1A1A1A; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Sidebar Boxes ─── */
.sidebar-box { background: #fff; border: 1px solid #F0F0F0; padding: 32px; margin-bottom: 24px; }
.sidebar-box h4 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 18px;
  font-weight: 400; margin-bottom: 20px;
}
.sidebar-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; color: #444; }
.sidebar-check svg { width: 16px; height: 16px; stroke: #1A1A1A; fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }

/* ─── Values Grid ─── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.value-item { display: flex; flex-direction: column; align-items: center; }
.value-item .icon { margin-left: auto; margin-right: auto; }
.value-item h4 {
  font-size: 16px; font-weight: 500; letter-spacing: 1px; margin-bottom: 12px;
}
.value-item p { font-size: 14px; color: #666; line-height: 1.7; }

/* ─── Breadcrumb ─── */
.breadcrumb {
  padding: 16px 0; font-size: 12px; color: #8C8C8C; letter-spacing: 1px;
}
.breadcrumb a { color: #8C8C8C; transition: color 0.2s; }
.breadcrumb a:hover { color: #1A1A1A; }
.breadcrumb span { margin: 0 8px; }

/* ─── Filter Bar ─── */
.filter-bar { display: flex; justify-content: center; gap: 32px; margin-bottom: 48px; }
.filter-bar a {
  font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
  color: #8C8C8C; transition: color 0.2s; padding-bottom: 4px;
}
.filter-bar a:hover, .filter-bar a.active {
  color: #1A1A1A; border-bottom: 1px solid #1A1A1A;
}

/* ─── Three Cols (arguments) ─── */
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.three-col { text-align: center; }
.three-col .col-number {
  font-family: 'Playfair Display', Georgia, serif; font-size: 48px;
  font-weight: 400; color: #F0F0F0; line-height: 1; margin-bottom: 16px;
}
.three-col h4 { font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.three-col p { font-size: 14px; color: #666; line-height: 1.7; }

/* ─── Map Placeholder ─── */
.map-placeholder {
  width: 100%; height: 400px; background: #E8E4DF;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #8C8C8C; letter-spacing: 2px; text-transform: uppercase;
}

/* ─── Footer ─── */
footer { background: #1A1A1A; color: #fff; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .footer-logo-atelier {
  font-family: 'Playfair Display', Georgia, serif; font-size: 10px;
  letter-spacing: 5px; color: #8C8C8C; text-transform: uppercase;
}
.footer-brand .footer-logo-cordeiro {
  font-size: 22px; font-weight: 200; letter-spacing: 8px;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-brand .footer-logo-img { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #8C8C8C; line-height: 1.8; max-width: 300px; }
.footer-col h5 {
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.footer-col a { display: block; font-size: 14px; color: #8C8C8C; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p, .footer-bottom a { font-size: 12px; color: #666; }
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }

/* ═══════════════ Responsive ═══════════════ */
@media (max-width: 1024px) {
  .hero-full-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-full-text h1 { font-size: 42px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-reversed .split-image, .split-reversed .split-text { order: unset; }
  .cards-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .three-cols { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .section { padding: 80px 0; }
  .page-hero { min-height: 40vh; }
  .page-hero-content h1, .hero-full-text h1 { font-size: 27px; line-height: 1.2; }
  .section-title { font-size: 26px; }
  .cta-section h2 { font-size: 26px; }
  /* polices adaptées au mobile */
  .nav-logo-img { height: 30px; }
  .nav-cta { padding: 10px 16px; font-size: 10px; letter-spacing: 1.5px; }
  .section-label { font-size: 10px; letter-spacing: 2.5px; }
  .hero-full-text p, .hero-subtitle, .page-hero-content p.hero-subtitle { font-size: 15px; }
  .hero-full-text h1 { margin-bottom: 20px; }
  .split-text h2 { font-size: 24px; }
  .hero-full { min-height: auto; padding: 120px 0 60px; }
  .hero-full-content { padding: 0 24px; }
  .hero-full-buttons { flex-wrap: wrap; }
  .split-image { min-height: 0; }
  /* grille réalisations home (style inline repeat(4)) → 2 colonnes en mobile */
  #realisations .project-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .project-grid { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: wrap; gap: 16px; }

  /* ─── Menu mobile ─── */
  .nav-cta { padding: 10px 18px; font-size: 10px; }
  .nav-links.nav-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px);
    background: #fff; padding: 8px 24px 48px; overflow-y: auto;
    -webkit-overflow-scrolling: touch; z-index: 99;
  }
  .nav-links.nav-open > a,
  .nav-links.nav-open .nav-dropdown-trigger {
    font-size: 15px; letter-spacing: 1px; color: #1A1A1A;
    width: 100%; justify-content: space-between;
    padding: 16px 0; border-bottom: 1px solid #F0F0F0;
  }
  .nav-links.nav-open .nav-dropdown { width: 100%; }
  .nav-links.nav-open .nav-mega {
    display: block; position: static; transform: none;
    opacity: 1; visibility: visible; padding: 4px 0 0;
  }
  .nav-links.nav-open .nav-mega-panel {
    flex-direction: column; gap: 18px; min-width: 0;
    border: none; box-shadow: none; padding: 8px 0 12px;
  }
  .nav-links.nav-open .nav-mega-col { min-width: 0; }
  .nav-links.nav-open .nav-mega-col a { font-size: 15px; padding: 9px 0; }

  /* Hamburger → croix */
  .nav-mobile-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-mobile-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  body.nav-locked { overflow: hidden; }
}

/* ─── Blog / Articles ─── */
.article-hero { padding: 128px 0 48px; background: #F5F5F5; }
.article-hero .container { max-width: 820px; }
.article-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 40px; font-weight: 400; line-height: 1.15; margin: 12px 0 20px; }
.article-meta { font-size: 13px; color: #8C8C8C; letter-spacing: 1px; text-transform: uppercase; }
.article-lead { font-size: 19px; color: #444; line-height: 1.7; margin-top: 8px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 56px 40px 24px; }
.prose { font-size: 17px; line-height: 1.85; color: #333; }
.prose h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 400; margin: 48px 0 18px; line-height: 1.25; }
.prose h3 { font-size: 20px; font-weight: 500; margin: 32px 0 12px; }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 22px 22px; }
.prose li { margin-bottom: 10px; }
.prose a { color: #1A1A1A; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #E5E2DE; }
.prose th { background: #F5F5F5; font-weight: 500; }
.prose blockquote { border-left: 3px solid #1A1A1A; padding: 6px 0 6px 22px; margin: 28px 0; color: #555; font-style: italic; }
.article-callout { background: #F5F5F5; border-left: 3px solid #1A1A1A; padding: 24px 28px; margin: 32px 0; }
.article-callout h3 { margin-top: 0; }
.toc { background: #F5F5F5; padding: 24px 28px; margin: 32px 0; font-size: 15px; }
.toc-title { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #8C8C8C; margin-bottom: 12px; }
.toc ul { margin: 0 0 0 18px; }
.toc li { margin-bottom: 8px; }

/* Blog index */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { border: 1px solid #EYEYEY; display: flex; flex-direction: column; background: #fff; transition: box-shadow .25s ease; }
.blog-card { border: 1px solid #EDEAE6; }
.blog-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
.blog-card-img { aspect-ratio: 16/10; background: #E9E5E0 center/cover; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #8C8C8C; }
.blog-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.3; }
.blog-card p { font-size: 14px; color: #666; flex: 1; }
.blog-card .read { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } .article-hero h1 { font-size: 30px; } .prose { font-size: 16px; } }

/* ─── Bouton flottant WhatsApp ─── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 10px 28px rgba(0,0,0,0.26); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 768px) {
  .wa-float { width: 48px; height: 48px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 27px; height: 27px; }
}
