@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Poppins:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;700&family=Poppins:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;700&display=swap");
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #284255;
  color: white;
}
.main-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
}
.main-header .logo {
  flex: 0 1 auto;
}
.main-header .logo .site-logo {
  max-height: 1.8rem !important;
  height: auto !important;
  width: auto !important;
  max-width: 100%;
}
.main-header .main-nav {
  flex: 1 1 auto;
}
.main-header .main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-header .main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
}
.main-header .main-nav ul li a:hover {
  opacity: 0.8;
}
.main-header .language-flags {
  flex: 0 1 auto;
  display: flex;
  gap: 0.5rem;
}
.main-header .language-flags .flag-icon {
  width: 1.5rem;
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .main-header .container {
    flex-direction: column;
    align-items: stretch;
  }
  .main-header .logo {
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .main-header .logo .site-logo {
    max-height: 1.2rem !important;
  }
  .main-header .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .main-header .language-flags {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

:root {
  --vh: 1vh;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Hauteur exacte du viewport, partout */
  height: calc(var(--vh) * 100);
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-bg .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 2rem 1rem;
  text-align: center;
}
.hero .hero-content h1 {
  font-family: "Cormorant Garamond", serif !important;
  font-variant: small-caps;
  /* plus petit qu’avant */
  font-size: clamp(2.5rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: #284255 !important;
}
.hero .hero-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 500;
  margin: 0.5rem 0 1.5rem;
  color: #284255;
}
.hero .hero-content .tagline {
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  margin-bottom: 2rem;
  color: #284255;
}
.hero .hero-content .hero-description {
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  margin-bottom: 4rem;
  color: #284255;
  line-height: 1.4;
}
.hero .cta-button {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background-color: #284255;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.hero .cta-button:hover {
  background-color: rgb(23.68, 39.072, 50.32);
}

@media (max-height: 568px) {
  .hero {
    align-items: flex-start;
    padding-top: 2rem;
  }
  .hero-content .tagline {
    display: none;
  }
  .hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .hero-content h2 {
    font-size: clamp(0.9rem, 4vw, 1.25rem);
  }
  .hero-content .hero-description {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    margin-bottom: 6rem;
  }
  .hero-content .cta-button {
    bottom: 1rem;
  }
}
/* PAGE EXPERTISE */
.expertise-page {
  margin-top: 80px; /* Laisser la place au menu principal fixe */
  width: 100%;
}

/* SOMMAIRE STICKY pour la page Expertise */
.expertise-sommaire {
  position: sticky;
  top: 80px; /* Sous le menu principal */
  background: #fff;
  z-index: 999;
  padding: 1rem 0; /* Marge doublée en haut et en bas */
}
.expertise-sommaire .sommaire-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}
.expertise-sommaire .sommaire-menu ul.desktop-menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.expertise-sommaire .sommaire-menu ul.desktop-menu li a {
  display: block;
  background-color: #284255;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.expertise-sommaire .sommaire-menu ul.desktop-menu li a:hover {
  background-color: rgb(23.68, 39.072, 50.32);
}
.expertise-sommaire .sommaire-menu .dropdown {
  display: none;
  position: relative;
}
@media (max-width: 768px) {
  .expertise-sommaire .sommaire-menu ul.desktop-menu {
    display: none;
  }
  .expertise-sommaire .sommaire-menu .dropdown {
    display: block;
  }
  .expertise-sommaire .sommaire-menu .dropdown-toggle {
    background-color: #284255;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    cursor: pointer;
  }
  .expertise-sommaire .sommaire-menu .dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
  }
  .expertise-sommaire .sommaire-menu .dropdown-menu li a {
    display: block;
    background-color: #284255;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  .expertise-sommaire .sommaire-menu .dropdown-menu li a:hover {
    background-color: rgb(23.68, 39.072, 50.32);
  }
}

/* SECTION PAR DOMAINE */
.domain-section {
  width: 100%;
  padding: 2rem 0;
  box-sizing: border-box;
  margin-bottom: 1rem;
  scroll-margin-top: 80px;
}

.domain-section:first-of-type .domain-header {
  top: calc(80px + 4.3rem);
}

/* Header sticky pour chaque domaine : Titre sticky */
.domain-header {
  position: sticky;
  top: calc(80px + 4.3rem);
  z-index: 950;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  width: 90%;
  margin: 0 auto;
}

/* Rectangle de titre dans le header sticky */
.domain-title-box {
  background-color: #284255;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

/* Corps de section : image à gauche et texte à droite */
.domain-body {
  width: 90%;
  margin: 4rem auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}
.domain-body .domain-image {
  width: auto;
  height: auto;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;
  margin-right: 1rem;
  display: block;
}
.domain-body .domain-text {
  flex: 1;
}
.domain-body .domain-text p,
.domain-body .domain-text ul,
.domain-body .domain-text ol {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 16px;
}
.domain-body .domain-text h3 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin-top: 1rem;
  color: #284255;
  text-align: left;
}

#liberation .domain-text ol {
  margin-left: 1.5rem;
}

/* Mise en forme des "rectangles" pour les points */
.points-rectangles p {
  background-color: #687A88;
  border: 1px solid #5A6C7A;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  color: #fff;
}

/* Deux colonnes pour la Cour d’assises (optionnel) */
.two-columns {
  column-count: 2;
  column-gap: 2rem;
}

/* Responsive : sur mobile */
@media (max-width: 768px) {
  .domain-body {
    flex-direction: column;
    margin-top: 1rem;
  }
  .two-columns {
    column-count: 1;
  }
}
/* _layout.scss */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff;
  text-align: justify;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.section-container {
  width: 90%;
  margin: 4rem auto 0;
}

.page-content {
  margin-top: 6rem;
  padding: 2rem 0;
  font-size: 16px;
}
.page-content h1 {
  font-family: "EB Garamond", serif;
  font-size: 36px;
  margin-bottom: 2rem;
}
.page-content .intro-text {
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 3rem;
  max-width: 900px;
}

.team-modern {
  display: flex;
  flex-direction: column;
  /* Import de la police depuis Google Fonts */
  @import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&display=swap");
  /* Styles globaux */
  /* HERO / Page d’accueil */
  gap: 4rem;
}
.team-modern body {
  font-family: "EB Garamond", serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #222;
}
.team-modern .hero {
  background-color: #f6f8fa;
  padding: 6rem 0;
  text-align: center;
}
.team-modern .hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.team-modern .hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-variant: small-caps;
  font-weight: 600; /* pour effet légèrement plus bold */
  font-size: 48px;
  margin-bottom: 0.5rem;
}
.team-modern .hero h2 {
  font-size: 28px;
  margin-bottom: 0.25rem;
  font-weight: normal;
}
.team-modern .hero .tagline {
  font-size: 18px;
  margin-bottom: 2rem;
  color: #666;
}
.team-modern .hero .hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2rem;
}
.team-modern .hero .cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #284255;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.team-modern .hero .cta-button:hover {
  background-color: #1e3342;
}

.team-member-modern {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.team-member-modern .photo-container {
  flex: 1;
  max-width: 300px;
}
.team-member-modern .modern-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.team-member-modern .bio-container {
  flex: 2;
  font-size: 17px;
  line-height: 1.6;
  text-align: justify;
}
.team-member-modern .bio-container h2 {
  font-family: "Garamond", serif;
  font-size: 28px;
  margin-bottom: 1rem;
}
.team-member-modern .bio-container p {
  margin-bottom: 1rem;
  font-size: 16px;
}
.team-member-modern.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .team-member-modern,
  .team-member-modern.reverse {
    flex-direction: column;
    text-align: center;
  }
  .team-member-modern .bio-container,
  .team-member-modern.reverse .bio-container {
    text-align: justify;
  }
}
/* Conteneur global de la page Actualités */
.page-content {
  padding: 2rem 0;
  width: 90%;
  margin: 4rem auto 0;
}

.page-content h1 {
  font-family: "EB Garamond", serif;
  font-size: 32px;
  text-align: left;
  margin-bottom: 2rem;
}

/* Grille de cartes */
.cards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Carte */
.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  /* Positionnement relatif pour que le bouton puisse être positionné en absolu */
  position: relative;
  padding: 1rem; /* Espace intérieur */
  min-height: 180px; /* Hauteur minimale (ajustez selon vos besoins) */
}
.card:hover {
  transform: translateY(-5px);
}

/* Titre (Garamond, petit, aligné à gauche) */
.card h2 {
  font-family: "EB Garamond", serif;
  font-size: 16px;
  text-align: left;
  margin-bottom: 1rem;
}

/* Bouton "Lire la suite" positionné en bas et centré horizontalement */
.card-link {
  position: absolute; /* Positionnement absolu */
  bottom: 1rem; /* Espace depuis le bas de la carte */
  left: 50%; /* Centre horizontalement */
  transform: translateX(-50%); /* Décale de la moitié de la largeur pour être centré */
  text-decoration: none;
  background-color: #284255;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: background-color 0.3s;
}
.card-link:hover {
  background-color: rgb(23.68, 39.072, 50.32);
}

.page-content {
  margin-top: 8rem; /* Pour éviter d'être masqué par la navbar fixe */
  padding: 2rem 0;
  background-color: #fff;
  color: #333;
}

/* Titres et paragraphes globaux de la page */
.page-content h1 {
  font-family: "EB Garamond", serif;
  font-size: 32px;
  text-align: left;
  margin-bottom: 2rem;
  color: #284255;
}

.page-content p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 1rem;
}

/* Container global pour la page Contact */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

/* Colonne gauche : Formulaire et informations */
.contact-left {
  flex: 1;
}
.contact-left h1 {
  font-family: "EB Garamond", serif;
  font-size: 32px;
  color: #284255;
  margin-bottom: 1rem;
  text-align: left;
}
.contact-left p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
}
.contact-left p a.contact-link {
  color: #5a5a5a; /* Couleur grise par défaut */
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}
.contact-left p a.contact-link:hover {
  color: #284255; /* Passe au bleu utilisé ailleurs sur le site */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.contact-left form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-left form .form-group {
  display: flex;
  flex-direction: column;
}
.contact-left form .form-group label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #284255;
  margin-bottom: 0.5rem;
}
.contact-left form .form-group .form-control {
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
}
.contact-left form .btn-submit {
  background-color: #284255;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  cursor: pointer;
  width: fit-content;
  transition: background-color 0.3s;
}
.contact-left form .btn-submit:hover {
  background-color: rgb(23.68, 39.072, 50.32);
}

/* Colonne droite : Photo */
.contact-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-right img.contact-photo {
  max-width: 550px !important;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.footer {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 4rem 0;
  /* Couleur de fond principale */
  background-color: #284255;
  margin: 0;
  /* Overlay subtil */
  /* Conteneur du contenu */
  /* Nom du cabinet */
  /* Slogan / sous-titre */
  /* Coordonnées email / téléphone */
  /* Mentions légales / droits réservés */
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.2); /* Overlay noir à 20% */
  z-index: 0;
}
.footer .footer-content {
  position: relative;
  z-index: 1; /* Au-dessus de l’overlay */
  max-width: 800px;
  margin: 0 auto;
}
.footer h3 {
  font-family: "EB Garamond", serif;
  font-size: 24px;
  margin-bottom: 0;
}
.footer .footer-subtitle {
  font-size: 18px;
  margin-bottom: 1rem;
}
.footer .footer-contact {
  font-size: 16px;
  margin-bottom: 1rem;
}
.footer .footer-contact a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.25rem;
}
.footer .footer-contact a:hover {
  text-decoration: underline;
}
.footer .footer-copy {
  font-size: 14px;
  color: #ccc; /* Légèrement plus clair que #fff */
}

html, body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff;
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: justify;
}
