/* ═══════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --blue-dark:   #1B3A6B;
  --blue-mid:    #1a4fa0;
  --blue-light:  #6B9FD4;
  --blue-section:#6B9FCC;
  --blue-hero:   rgba(26, 79, 160, 0.75);
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --text-dark:   #1B3A6B;
  --text-light:  #FFFFFF;
  --font-head:   'Raleway', sans-serif;
  --font-body:   'Lato', sans-serif;
  --transition:  0.3s ease;
  --max-w:       1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--blue-dark);
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  text-align: center;
  color: var(--blue-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-mid);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.6rem;
  border: 2px solid var(--blue-mid);
  transition: background var(--transition), color var(--transition);
}
.btn-primary:hover {
  background: transparent;
  color: var(--blue-mid);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.4rem;
  margin-top: 1rem;
  transition: background var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
.topbar {
  background: var(--blue-dark);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  position: relative;
  z-index: 100;
}
.topbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.45rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}
.topbar__contacts { display: flex; gap: 1.5rem; }
.topbar__link {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}
.topbar__link:hover { color: var(--white); }
.topbar__lang { display: flex; align-items: center; gap: 0.5rem; }
.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.lang-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 0;
  transition: color var(--transition);
}
.lang-btn.active,
.lang-btn:hover { color: var(--white); }

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--blue-mid);
  overflow: visible;
}
.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 75px;
  overflow: visible;
}

/* Logo — grand et débordant en haut, compact au scroll
   → Ajuster --logo-w pour changer la taille du logo */
:root { --logo-w: 320px; --logo-w-sm: 60px; }

.header__logo {
  overflow: visible;
  position: relative;
  z-index: 100;
  margin-top: -75px;
  width: var(--logo-w);
  transition: width 0.35s ease;
}
.header.scrolled .header__logo {
  width: var(--logo-w-sm);
}
.header__logo a { display: block; }

/* Logo complet (haut de page) */
.header__logo-full {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

/* Logo réduit (état scrollé) */
.header__logo-icon {
  display: none;
  width: 122px;
  height: 122px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Scrolled : cacher full, montrer icône */
.header.scrolled .header__logo-full { display: none; }
.header.scrolled .header__logo-icon  { display: block; }
.header.scrolled .header__logo {
  width: auto;
  margin-top: 0;
}

/* Nav */
.nav {
  height: 75px;
  display: flex;
  align-items: center;
}
.nav__list {
  display: flex;
  gap: 2.5rem;
}
.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--white);
  padding-bottom: 4px;
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--white);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - 75px - 34px);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__bg,
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero__bg { z-index: 0; }
.hero__overlay {
  display: none;
}
.hero__blue-tint { display: none; }
.hero__content {
  position: relative;
  z-index: 3;
  width: 50%;
  padding: 14rem 3rem 2rem 2rem;
}
.hero__box {
  background: var(--blue-hero);
  padding: 2.5rem;
  text-align: left;
}
.hero__box--title {
  padding-bottom: 0.625rem;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.hero__lead {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}
.hero__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  text-align: justify;
}
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__box {
  animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero__arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--white);
  width: 44px;
  height: 44px;
  animation: bounce 2s infinite 1.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero__arrow svg { width: 100%; height: 100%; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Placeholder when no image */
.hero__bg:not([src]),
.hero__img:not([src]),
.hero__img[src="images/hero-bg.jpg"]:not([complete]) {
  background: linear-gradient(135deg, #1B3A6B 0%, #4A7FC1 50%, #8AB4D8 100%);
}

/* ═══════════════════════════════════════════
   EXPERTISE
═══════════════════════════════════════════ */
.expertise {
  padding: 5rem 0 5rem;
  background: var(--white);
}
.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 1rem;
}
.expertise__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  background: var(--off-white);
  border: 1px solid rgba(27, 58, 107, 0.07);
  padding: 2.5rem 2rem 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.expertise__card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 44px rgba(27, 58, 107, 0.13);
}
.expertise__icon {
  width: 68px;
  height: 68px;
  color: var(--blue-dark);
  margin-bottom: 1.2rem;
}
.expertise__icon svg { width: 100%; height: 100%; }
.expertise__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}
.expertise__desc {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--blue-dark);
  flex: 1;
  margin-bottom: 1.8rem;
}
.expertise__btn { margin-top: auto; }

/* ═══════════════════════════════════════════
   MODAL EXPERTISE
═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 25, 55, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(3px);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem 3.5rem 3rem;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.64, 1);
  box-shadow: 0 24px 80px rgba(10, 25, 55, 0.35);
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  opacity: 0.5;
  transition: opacity var(--transition);
  padding: 4px;
}
.modal__close:hover { opacity: 1; }
.modal__close svg { width: 22px; height: 22px; }

.modal__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(27, 58, 107, 0.1);
}
.modal__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--blue-mid);
}
.modal__icon svg { width: 100%; height: 100%; }
.modal__title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
}

/* Modal body — rich text */
.modal__body p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--blue-dark);
  margin-bottom: 1.1rem;
}
.modal__body p:last-child { margin-bottom: 0; }
.modal__body strong { color: var(--blue-mid); font-weight: 700; }
.modal__body ul {
  list-style: none;
  margin: 0.4rem 0 1.2rem 0;
  padding: 0;
}
.modal__body ul li {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--blue-dark);
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.25rem;
}
.modal__body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}
.modal__body blockquote {
  border-left: 3px solid var(--blue-light);
  margin: 0.8rem 0 1.2rem;
  padding: 0.9rem 1.4rem;
  background: rgba(107, 159, 212, 0.08);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--blue-dark);
}

/* Scrollbar discret dans le modal */
.modal::-webkit-scrollbar { width: 5px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(27,58,107,0.2); border-radius: 10px; }

@media (max-width: 600px) {
  .modal { padding: 2.5rem 1.8rem 2rem; }
  .modal__header { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* ═══════════════════════════════════════════
   CABINET (split 50/50)
═══════════════════════════════════════════ */
.cabinet {
  display: flex;
  min-height: 700px;
}
.cabinet__photo {
  width: 50%;
  position: relative;
  overflow: hidden;
  background: #222;
}
.cabinet__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.cabinet__text {
  width: 50%;
  background: var(--blue-section);
  color: var(--white);
  display: flex;
  align-items: flex-start;
  padding: 0;
}
.cabinet__text-inner {
  padding: 4rem 3.5rem;
  overflow-y: auto;
}
.cabinet__block { margin-bottom: 3rem; }
.cabinet__block:last-child { margin-bottom: 0; }
.cabinet__title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}
.cabinet__title--avocate {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}
.cabinet__text-inner p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.92);
  text-align: justify;
  margin-bottom: 1rem;
}
.cabinet__text-inner p strong { color: var(--white); }
.cabinet__text-inner p em { font-style: italic; }

/* ═══════════════════════════════════════════
   ACTUALITÉS (split 50/50)
═══════════════════════════════════════════ */
.actu {
  display: flex;
  min-height: 600px;
}
.actu__left {
  width: 50%;
  background: var(--blue-mid);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.actu__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 4rem;
}
.actu__right {
  width: 50%;
  background: var(--white);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
}
.actu__une-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  text-align: center;
}
.actu__featured-img {
  width: 100%;
  /*max-height: 280px;*/
  object-fit: cover;
  margin-bottom: 1.2rem;
}
.actu__featured-link {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-light);
  line-height: 1.5;
  display: block;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.actu__featured-link:hover { color: var(--blue-dark); }
.actu__featured-source {
  font-size: 0.82rem;
  color: var(--blue-light);
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}
.slider__slide {
  width: 100%;
  flex: 0 0 100%;
}
.slider__img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  background: #1a3a6b;
  overflow: hidden;
}
.slider__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.slider__caption {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.slider__headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.slider__source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  padding: 0 0.5rem;
  z-index: 5;
  transition: opacity var(--transition);
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
}
.slider__btn:hover { opacity: 0.7; }
.slider__btn--prev { left: 4px; }
.slider__btn--next { right: 4px; }
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}
.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.slider__dot.active { background: var(--white); }

/* ═══════════════════════════════════════════
   CONTACT (split 50/50)
═══════════════════════════════════════════ */
.contact {
  display: flex;
  min-height: 600px;
}
.contact__form-col {
  width: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}
.contact__form-inner { width: 100%; max-width: 460px; }
.contact__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.contact__phone {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue-mid);
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.contact__phone:hover { color: var(--blue-dark); }
.contact__form { display: flex; flex-direction: column; gap: 0.85rem; }
.contact__input,
.contact__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #C8D5E8;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--blue-dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.contact__input:focus,
.contact__textarea:focus { border-color: var(--blue-mid); }
.contact__input::placeholder,
.contact__textarea::placeholder { color: #9AAABF; }
.contact__textarea { resize: vertical; min-height: 130px; }
.contact__captcha { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.contact__captcha-label { font-size: 0.88rem; color: #5a6a80; white-space: nowrap; }
.contact__captcha-input { width: 80px !important; text-align: center; }
.contact__submit {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 1rem;
  margin-top: 0.3rem;
}
.contact__notice {
  font-size: 0.75rem;
  color: #8899B0;
  line-height: 1.6;
  margin-top: 0.5rem;
}
.contact__success {
  background: #e8f4e8;
  border-left: 3px solid #4caf50;
  padding: 1.2rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #2e7d32;
  font-weight: 600;
}
.contact__error {
  background: #fdecea;
  border-left: 3px solid #e53935;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #c62828;
}
.contact__img-col {
  width: 50%;
  position: relative;
  overflow: hidden;
  background: #f0ece6;
}
.contact__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--blue-mid);
  color: var(--white);
}

/* Zone principale — 3 colonnes */
.footer__main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

/* Colonnes adresses */
.footer__col {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255,255,255,0.88);
}
.footer__col p { margin: 0; }
.footer__col--left  { text-align: right; }
.footer__col--right { text-align: left; }

/* Colonne centre — logo */
.footer__col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer__logo-img {
  height: 220px;
  width: auto;
  display: block;
}
.footer__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--white);
}

/* Contact centré — téléphone + email */
.footer__contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.footer__contact-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.footer__contact-link:hover { color: var(--white); }

/* Bas du footer — mentions légales */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
/* Liens de navigation rapide dans le footer */
.footer__nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}
.footer__nav-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.footer__nav-links a:hover { color: var(--white); }
.footer__nav-links span    { color: rgba(255,255,255,0.25); }

.footer__legal {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__legal:hover { color: var(--white); }
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════
   PAGE ACTUALITÉS — mosaïque
═══════════════════════════════════════════ */

/* Sur la page actualités : toujours le petit logo (pas de hero) */
body.page-articles .header__logo { margin-top: 0; width: auto; }
body.page-articles .header__logo-full { display: none; }
body.page-articles .header__logo-icon { display: block; }

.articles-banner {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem;
}
.articles-banner__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.articles-section {
  padding: 4rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

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

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}
.article-card__img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.article-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card__img-wrap img { transform: scale(1.05); }
.article-card__body {
  padding: 1.2rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.article-card__source {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
}
.article-card__headline {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .expertise__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__content { width: 65%; }
  .cabinet__text-inner { padding: 3rem 2.5rem; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar__contacts { display: none; }

  /* Sur mobile : toujours le petit logo (pas de débordement) */
  .header__logo { margin-top: 0; width: auto; }
  .header__logo-full { display: none; }
  .header__logo-icon { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 200;
  }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; gap: 0; background: var(--white); }
  .nav__link {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eef1f6;
    font-size: 0.95rem;
    color: var(--blue-dark);
    background: var(--white);
  }
  .nav-toggle { display: flex; }

  .hero { height: 80vh; align-items: flex-start; }
  .hero__content {
    width: 100%;
    padding: 1.5rem 1.5rem 2.5rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero__box { text-align: left; padding: 1.2rem 1.4rem; }
  .hero__box--title { display: none; }

  .expertise__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .cabinet { flex-direction: column; }
  .cabinet__photo,
  .cabinet__text { width: 100%; }
  .cabinet__photo { min-height: 320px; }

  .actu { flex-direction: column; }
  .actu__left,
  .actu__right { width: 100%; }

  .contact { flex-direction: column; }
  .contact__form-col,
  .contact__img-col { width: 100%; }
  .contact__img-col { min-height: 300px; }

  .footer__main {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
  }
  .footer__col--left,
  .footer__col--right { text-align: center; }
  .footer__bottom { padding: 1rem 1.5rem; }
}

@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header__inner { padding: 0 1rem; height: 75px; }
  .logo-box { width: 54px; height: 54px; }
  .logo-initials { font-size: 1.4rem; }
  .logo-name__text { font-size: 0.9rem; }
  .section-inner { padding: 0 1.2rem; }
  .expertise { padding: 3.5rem 0; }
  .cabinet__text-inner { padding: 2.5rem 1.5rem; }
  .actu__left,
  .actu__right { padding: 2.5rem 1.5rem; }
  .contact__form-col { padding: 3rem 1.5rem; }
}

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--blue-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.25s ease;
  box-shadow: 0 4px 18px rgba(27, 58, 107, 0.28);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}
.back-to-top svg { width: 22px; height: 22px; }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS — directional entrances
═══════════════════════════════════════════ */
.will-anim {
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.will-anim.from-bottom { opacity: 0; transform: translateY(36px); }
.will-anim.from-left   { opacity: 0; transform: translateX(-48px); }
.will-anim.from-right  { opacity: 0; transform: translateX(48px); }
.will-anim.from-scale  { opacity: 0; transform: scale(0.94); }
.will-anim.anim-d1     { transition-delay: 0.12s; }
.will-anim.anim-d2     { transition-delay: 0.25s; }
.will-anim.anim-d3     { transition-delay: 0.38s; }
.will-anim.revealed    { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .will-anim { transition: none !important; }
  .hero__box { animation: none !important; opacity: 1; }
}
