/* ============================================================
   JURCO AVOCATS - Feuille de style principale
   Couleurs : #1a2a5e (bleu marine), #c9a84c (or), #ffffff
   ============================================================ */

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

:root {
  --navy: #1a2a5e;
  --navy-dark: #111e45;
  --gold: #c9a84c;
  --gold-light: #e0c070;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #666666;
  --text: #333333;
  --font-primary: 'Playfair Display', Georgia, serif;
  --font-secondary: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font-secondary);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Topbar ---- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold); }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }
.topbar-social { margin-left: auto; display: flex; gap: 12px; }
.topbar-social a { color: rgba(255,255,255,.7); font-size: 1rem; }
.topbar-social a:hover { color: var(--gold); }

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo img { height: 56px; width: auto; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 7px 10px;
  font-family: var(--font-secondary);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
  border-radius: 3px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

/* Dropdown */
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.12); border-top: 3px solid var(--gold); z-index: 999; }
.main-nav > li:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 18px; font-size: .85rem; color: var(--navy); border-bottom: 1px solid rgba(0,0,0,.05); }
.dropdown li a:hover { background: var(--gray-light); color: var(--gold); }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center top;
  opacity: .35;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 60px 24px;
}
.hero-content h1 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-content h1 span { display: block; }
.hero-subtitle {
  font-size: 1.05rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 2px;
  transition: background .25s, color .25s, transform .2s;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ---- Section générique ---- */
.section { padding: 80px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-light { background: var(--gray-light); }
.section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.section-divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 40px;
}
.text-center { text-align: center; }
.text-center .section-divider { margin-left: auto; margin-right: auto; }

/* ---- Section Notre Cabinet ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p { margin-bottom: 16px; color: var(--gray); line-height: 1.8; }
.about-cta { margin-top: 28px; }

/* ---- Section Spécialités ---- */
.skills-box {
  background: var(--navy);
  color: var(--white);
  padding: 48px;
  border-left: 4px solid var(--gold);
}
.skills-box h3 { font-family: var(--font-primary); font-size: 1.1rem; color: var(--gold); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .08em; }
.skills-box ul { display: flex; flex-direction: column; gap: 10px; }
.skills-box ul li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.5; }
.skills-box ul li::before { content: '▸'; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---- Section Domaines d'intervention ---- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.expertise-card {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,.25);
  padding: 36px 20px;
  text-align: center;
  transition: border-color .25s, transform .25s;
  cursor: default;
}
.expertise-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.expertise-card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}
.expertise-card .expertise-icon {
  width: 140px;
  height: 140px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 18px;
  display: block;
  border-radius: 6px;
  image-rendering: auto;
}
.expertise-card h3 {
  font-family: var(--font-secondary);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
}
.expertise-center { text-align: center; }

/* ---- Section Équipe ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy);
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%) brightness(.8);
  transition: transform .4s, filter .4s;
}
.team-card:hover img { transform: scale(1.05); filter: grayscale(0%) brightness(.75); }
.team-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.team-card-link:hover .team-card { box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.team-card-link:hover .team-card-info h3 { color: var(--gold); }
.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px;
  background: linear-gradient(transparent, rgba(17,30,69,.92));
  color: var(--white);
}
.team-card-info h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 4px; }
.team-card-info p { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }

/* ---- Section Modalités ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card { text-align: center; }
.step-number {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 { font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--white); line-height: 1.5; }

/* ---- Section CTA ---- */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: .1;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font-primary); font-size: 2.2rem; color: var(--white); margin-bottom: 8px; }
.cta-section p { color: var(--gold); font-size: 1rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 32px; }

/* ---- Section Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form { background: var(--white); padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.contact-form h3 { font-family: var(--font-primary); font-size: 1.4rem; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font-family: var(--font-secondary);
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  border-radius: 2px;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info h3 { font-family: var(--font-primary); font-size: 1.4rem; color: var(--navy); margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-item .ci-icon { width: 40px; height: 40px; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .ci-icon svg { width: 18px; height: 18px; fill: var(--gold); }
.contact-info-item .ci-text strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 2px; }
.contact-info-item .ci-text span { font-size: .9rem; color: var(--gray); }
.contact-map { margin-top: 28px; }
.contact-map iframe { width: 100%; height: 220px; border: none; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-hero {
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-hero img { height: 80px; margin: 0 auto 20px; }
.footer-hero p { max-width: 600px; margin: 0 auto; font-size: .9rem; line-height: 1.8; }
.footer-hero p strong { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 48px 0;
}
.footer-col h4 {
  font-family: var(--font-secondary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li { font-size: .85rem; color: rgba(255,255,255,.65); }
.footer-col ul li strong { color: rgba(255,255,255,.85); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; border-radius: 2px; color: rgba(255,255,255,.7); font-size: .9rem; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Page intérieure Hero ---- */
.page-hero {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: .12;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.page-hero .breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); }
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb span { margin: 0 8px; }

/* ---- Page À propos ---- */
.about-detail { padding: 80px 0; }
.about-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-detail-text h2 { font-family: var(--font-primary); font-size: 1.8rem; color: var(--navy); margin-bottom: 20px; }
.about-detail-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.about-detail-text ul { margin: 16px 0 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.about-detail-text ul li { color: var(--gray); font-size: .92rem; line-height: 1.6; position: relative; padding-left: 16px; }
.about-detail-text ul li::before { content: '▸'; color: var(--gold); position: absolute; left: 0; }
.about-logo-box { background: var(--gray-light); padding: 48px; text-align: center; }
.about-logo-box img { max-width: 160px; margin: 0 auto 24px; }
.about-logo-box p { font-size: .9rem; color: var(--gray); line-height: 1.8; }

/* ---- Page Solutions ---- */
.solutions-section { padding: 80px 0; }
.solutions-intro { max-width: 800px; margin: 0 auto 60px; text-align: center; color: var(--gray); line-height: 1.8; }
.solutions-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.solution-card { padding: 36px 28px; border: 1px solid #e0e0e0; transition: border-color .25s, box-shadow .25s; }
.solution-card:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.solution-card h3 { font-family: var(--font-primary); font-size: 1.1rem; color: var(--navy); margin-bottom: 14px; }
.solution-card p { font-size: .88rem; color: var(--gray); line-height: 1.7; }
.procedures-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.procedure-box { background: var(--navy); padding: 36px; color: var(--white); }
.procedure-box h3 { font-family: var(--font-primary); font-size: 1.1rem; color: var(--gold); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .08em; }
.procedure-box ul { display: flex; flex-direction: column; gap: 16px; }
.procedure-box ul li { border-left: 2px solid var(--gold); padding-left: 14px; }
.procedure-box ul li strong { display: block; font-size: .85rem; color: var(--white); margin-bottom: 4px; }
.procedure-box ul li span { font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.methodology-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.method-step { text-align: center; padding: 28px 16px; background: var(--gray-light); }
.method-step .step-num { font-family: var(--font-primary); font-size: 2.5rem; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.method-step h3 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); }

/* ---- Page Contact ---- */
.contact-page { padding: 80px 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-types { grid-template-columns: 1fr 1fr; }
  .methodology-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar .container { justify-content: center; }
  .topbar-social { margin-left: 0; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 16px 0; z-index: 999; }
  .main-nav.open { display: flex; }
  .main-nav > li > a { padding: 12px 24px; }
  .dropdown { position: static; box-shadow: none; border-top: none; background: var(--gray-light); }
  .nav-toggle { display: block; }
  .hero { min-height: 420px; }
  .about-grid, .contact-grid, .about-detail-grid, .procedures-grid { grid-template-columns: 1fr; }
  .expertise-grid, .team-grid, .steps-grid, .solutions-types { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .methodology-grid { grid-template-columns: 1fr 1fr; }
  .skills-box { padding: 28px; }
}

@media (max-width: 480px) {
  .expertise-grid, .team-grid, .steps-grid, .solutions-types, .footer-grid, .methodology-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.7rem; }
  .section { padding: 52px 0; }
}
