/* ============================================
   CABINET LÉGIS & DROIT — Styles Premium
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  --royal-blue: #4169E1;
  --royal-blue-dark: #2B4AC7;
  --royal-blue-light: #6B8BF5;
  --bordeaux: #800020;
  --bordeaux-dark: #5C0017;
  --bordeaux-light: #A3254A;
  --white: #FFFFFF;
  --off-white: #FAFBFD;
  --gray-50: #F8F9FA;
  --gray-100: #F0F1F3;
  --gray-200: #E2E4E8;
  --gray-300: #C8CCD2;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gold: #C9A84C;
  --gold-light: #E8D590;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section --- */
.section {
  padding: 6rem 0;
}

.section--gray {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--royal-blue);
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--bordeaux));
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 0.75rem 0;
}

.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__logo {
  width: 48px;
  height: 48px;
  transition: var(--transition);
}

.navbar.scrolled .navbar__logo {
  width: 40px;
  height: 40px;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
}

.navbar__brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.navbar__brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--royal-blue);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  position: relative;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--royal-blue);
  background: rgba(65, 105, 225, 0.06);
}

.navbar__cta {
  margin-left: 1rem;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
}

.btn--primary:hover {
  background: var(--royal-blue-dark);
  border-color: var(--royal-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--royal-blue);
  border-color: var(--royal-blue);
}

.btn--secondary:hover {
  background: var(--royal-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--bordeaux {
  background: var(--bordeaux);
  color: var(--white);
  border-color: var(--bordeaux);
}

.btn--bordeaux:hover {
  background: var(--bordeaux-dark);
  border-color: var(--bordeaux-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.35);
}

.btn--white {
  background: var(--white);
  color: var(--royal-blue);
  border-color: var(--white);
}

.btn--white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A1628 0%, #122044 40%, #1a2d5a 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(65, 105, 225, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(128, 0, 32, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero__title span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__blason {
  width: 320px;
  height: 360px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  box-shadow: var(--shadow-xl);
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--royal-blue);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================
   EXPERTISE (Accueil)
   ============================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.expertise-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--bordeaux));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(65, 105, 225, 0.08);
  color: var(--royal-blue);
}

.expertise-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.expertise-card__text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--royal-blue) 0%, #2B4AC7 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================
   RÉALISATIONS PAGE
   ============================================ */
.page-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, #0A1628 0%, #122044 100%);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Domaines */
.domaines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.domaine-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.domaine-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: transparent;
}

.domaine-card__icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(128, 0, 32, 0.06));
  color: var(--royal-blue);
}

.domaine-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.domaine-card__text {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* Cas de succès */
.cas-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cas-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: var(--transition);
}

.cas-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cas-card__year {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--royal-blue);
  opacity: 0.3;
}

.cas-card__content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.cas-card__content p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.cas-card__badge {
  background: rgba(65, 105, 225, 0.08);
  color: var(--royal-blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.cas-card__badge--success {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro__visual {
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.06), rgba(128, 0, 32, 0.04));
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.about-intro__visual svg {
  width: 220px;
  height: 250px;
  opacity: 0.9;
}

.about-intro__content h2 {
  margin-bottom: 1.5rem;
}

.about-intro__content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

.valeur-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.valeur-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.valeur-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.08), rgba(128, 0, 32, 0.06));
  color: var(--royal-blue);
}

.valeur-card h3 {
  margin-bottom: 0.75rem;
}

.valeur-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

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

.equipe-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.equipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.equipe-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--white);
}

.equipe-card:nth-child(1) .equipe-card__avatar { background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-dark)); }
.equipe-card:nth-child(2) .equipe-card__avatar { background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-dark)); }
.equipe-card:nth-child(3) .equipe-card__avatar { background: linear-gradient(135deg, var(--gold), #A8873A); }

.equipe-card__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.equipe-card__role {
  font-size: 0.85rem;
  color: var(--royal-blue);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.equipe-card__bio {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  padding: 3rem;
  background: linear-gradient(135deg, #0A1628, #122044);
  border-radius: 20px;
  color: var(--white);
}

.contact-info h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info__item-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-info__item-text span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info__hours {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-info__hours h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.contact-info__hours p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Formulaire */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--bordeaux);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.08);
}

.form-group .error-msg {
  font-size: 0.8rem;
  color: var(--bordeaux);
  margin-top: 0.35rem;
  display: none;
}

.form-group .error-msg.visible {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  margin-top: 1.5rem;
  grid-column: 1 / -1;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.form-success h3 {
  color: #059669;
  margin-bottom: 0.75rem;
}

.form-success p {
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo {
  width: 40px;
  height: 40px;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__about p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
  color: var(--white);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .domaines-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro__visual {
    order: -1;
    min-height: 280px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .navbar__links.open {
    display: flex;
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__brand-sub {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 2rem;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    padding: 1rem 1.25rem;
    gap: 1rem;
    border-radius: 12px;
    margin-top: -3rem;
  }

  .stat {
    text-align: center;
  }

  .stat__number {
    font-size: 1.4rem;
  }

  .stat__label {
    font-size: 0.75rem;
  }

  .expertise-grid,
  .valeurs-grid,
  .equipe-grid {
    grid-template-columns: 1fr;
  }

  .cas-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }

  .cas-card__year {
    font-size: 1.2rem;
  }

  .cas-card__content h3 {
    font-size: 1rem;
  }

  .cas-card__badge {
    justify-self: start;
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  h2 {
    font-size: clamp(1.4rem, 2.5vw, 2.6rem);
  }

  .container {
    padding: 0 1.5rem;
  }

  .page-hero {
    padding: 8rem 0 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper,
  .contact-info {
    padding: 2rem;
  }
}
