/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 01 2025 | 20:12:29 */
/* =======================================
   PAGE "NOS EXPERTISES" – Cabinet Julien Celle
   ======================================= */

/* ===== Portée locale des variables (au lieu de :root) ===== */
.expertises-index {
  --brand: #00008f;         /* Bleu AXA */
  --brand-light: #e8ebfa;   /* Bleu clair */
  --text: #0e1726;
  --muted: #5b6471;
  --bg: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(0,0,0,.06);
  --gap: clamp(16px, 3vw, 28px);
  --font-title: 'Montserrat','Avenir Next','Nunito Sans',Arial,sans-serif;
  --font-text: 'Nunito Sans','Montserrat',Arial,sans-serif;

  padding: 3%;
  margin-bottom: 5% !important;
  background: var(--bg);
}

/* ===== Conteneur ===== */
.expertises-index .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
.expertises-header {
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 48px);
}

.expertises-header h1 {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: .045em;
  font-weight: 700;
  color: #00008f;
  font-size: 2.3rem;
  margin: 0 0 12px 0;
}

.expertises-intro {
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  padding: 1% 3%;
  margin: 0 auto;
}

/* ===== Grille ===== */
.expertises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* base desktop */
  gap: 8%;
}

/* ===== Carte ===== */
.expertise-card {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 24px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,143,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  will-change: transform;
}

.expertise-card:hover,
.expertise-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  border-color: rgba(0,0,143,.15);
}

/* ===== Illustration ===== */
.expertise-illu {
  margin: 0 0 14px 0;
}
.expertise-illu img,
.expertise-illu svg {
  display: block;
  width: clamp(88px, 12vw, 120px);
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}

/* ===== Titre & texte ===== */
.expertise-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  color: #00008f;
  margin: 6px 0 10px 0;
}

.expertise-text2 {
  font-family: var(--font-text);
  color: var(--muted);
  line-height: 1.5;
  font-size: 1rem;
  margin: 0 0 20px 0;
}

/* ===== Bouton ===== */
.expertises-index .btn2 {
  margin-top: auto;
  width: 40%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5ch;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(0deg, var(--brand) 0%, #031a66 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.expertises-index .btn2:hover,
.expertises-index .btn2:focus {
  transform: translateY(-1px);
  opacity: .96;
}

/* ===== Accessibilité (préférence utilisateur) ===== */
@media (prefers-reduced-motion: reduce) {
  .expertise-card,
  .expertises-index .btn2 { transition: none; }
}

/* =======================================
   Responsive en MAX-WIDTH (desktop -> mobile)
   ======================================= */

/* ≤ 1024px : passer la grille à 2 colonnes + resserrer les gaps */
@media (max-width: 1024px) {
  .expertises-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7%;
  }
  .expertises-index { padding: 3% 4%; }
	
	 .expertises-header h1 { font-size: 1.8rem; }
	.expertises-intro { font-size: 0.9rem; }
	.expertise-title { font-size: 1.15rem; }
	.expertise-text2 { font-size: 0.9rem); }
}

/* ≤ 900px : typographies un peu plus compactes + bouton plus large */
@media (max-width: 900px) {
  .expertises-header h1 { font-size: 1.6rem }
  .expertises-intro { font-size: 0.8rem; }
  .expertise-title { font-size: 1.1rem; }
  .expertise-text2 { font-size: 0.8rem); }
  .expertises-index .btn2 { width: 52%; }
  .expertises-grid { gap: 6%; }
}

/* ≤ 650px : 1 colonne, plein écran, boutons 100% */
@media (max-width: 650px) {
  .expertises-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .expertises-index { padding: 18px 16px; }
  .expertises-index .container { max-width: 640px; }
  .expertise-card { padding: 18px; text-align: left; }
  .expertise-illu { margin-bottom: 12px; }
  .expertises-index .btn2 { width: 80%; }
	.expertises-intro { font-size: 0.85rem;  margin-bottom: 35px; }
	    .expertise-text2 { font-size: 0.85rem; }
	    .expertises-header h1 {font-size: 1.3rem;margin-bottom: 30px;}
}





