/* ============================================================
   LE CLIC JURIDIQUE — Feuille de style principale
   Palette : blanc ivoire / bleu marine profond / or juridique
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,400&display=swap');

:root {
  --navy:    #1A2744;
  --navy-light: #243357;
  --gold:    #E8B84B;
  --gold-light: #F0CC6A;
  --ivory:   #F8F6F1;
  --white:   #FFFFFF;
  --gray:    #6B7280;
  --gray-light: #E8E5DF;
  --text:    #1E2530;
  --radius:  6px;
  --shadow:  0 4px 20px rgba(26,39,68,.10);
  --max-w:   1100px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

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

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

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

/* ---- HEADER ---- */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  max-width: var(--max-w);
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}

.logo-text .tagline {
  font-size: .72rem;
  color: var(--gold-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* NAV */
nav { display: flex; align-items: center; gap: 4px; }

nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 400;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

nav a:hover, nav a.active {
  background: rgba(184,154,78,.18);
  color: var(--gold-light);
}

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7em; opacity: .7; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--navy-light);
  border: 1px solid rgba(184,154,78,.25);
  border-radius: var(--radius);
  min-width: 230px;
  padding: 6px 0;
  box-shadow: var(--shadow);
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 9px 16px;
  border-radius: 0;
  font-size: .85rem;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: all .3s;
  display: block;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '§';
  position: absolute;
  font-family: var(--font-display);
  font-size: 320px;
  color: rgba(184,154,78,.06);
  top: -60px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,154,78,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ---- SERVICES GRID ---- */
.section {
  max-width: var(--max-w);
  margin: auto;
  padding: 64px 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: .95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,39,68,.14);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  color: var(--gray);
  font-size: .92rem;
  line-height: 1.65;
}

/* ---- CONTENT PAGE ---- */
.content-wrap {
  max-width: 860px;
  margin: auto;
  padding: 56px 24px 72px;
}

.content-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.breadcrumb {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 18px 0 32px;
}

.content-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 36px 0 14px;
}

.content-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-light);
  margin: 28px 0 10px;
}

.content-wrap h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.content-wrap p { margin-bottom: 18px; }

.content-wrap ul, .content-wrap ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.content-wrap li { margin-bottom: 6px; }

.content-wrap blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  background: rgba(184,154,78,.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--navy-light);
}

.content-wrap strong { color: var(--navy); }

.content-wrap a { color: var(--gold); }
.content-wrap a:hover { color: var(--gold-light); }

/* ---- INFO BOX ---- */
.info-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 36px 0;
}
.info-box h3 {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.info-box p, .info-box li { color: rgba(255,255,255,.85); font-size: .93rem; }
.info-box ul { padding-left: 20px; }
.info-box li { margin-bottom: 5px; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: 64px 24px;
}
.cta-banner h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- CONTACT SECTION ---- */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  background: rgba(184,154,78,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.contact-item a:hover { color: var(--gold); }

.contact-note {
  font-size: .82rem;
  color: var(--gray);
  margin-top: 4px;
}

/* FORM */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .93rem;
  background: var(--ivory);
  color: var(--text);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 48px 24px 28px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}

@media(max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p { font-size: .88rem; line-height: 1.6; max-width: 320px; }

.footer-col h4 {
  color: var(--gold-light);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .87rem;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}

.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

.ds-mention {
  background: rgba(184,154,78,.1);
  border: 1px solid rgba(184,154,78,.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-top: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.ds-mention strong { color: var(--gold-light); }

/* ---- RESPONSIVE ---- */
@media(max-width: 900px) {
  nav { display: none; }
  .burger { display: flex; }
}

@media(max-width: 900px) {
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    padding: 24px;
    overflow-y: auto;
    z-index: 99;
    align-items: flex-start;
    gap: 0;
  }
  nav.open a {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-radius: 0;
    color: rgba(255,255,255,.85) !important;
    background: transparent !important;
  }
  nav.open a:hover, nav.open a.active {
    background: rgba(232,184,75,.15) !important;
    color: var(--gold-light) !important;
  }
  nav.open a[style] {
    background: transparent !important;
    color: rgba(255,255,255,.85) !important;
  }
  .dropdown-menu {
    position: static;
    display: block !important;
    background: rgba(255,255,255,.05);
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
  .dropdown-menu a { padding-left: 36px; font-size: .93rem; }
  .nav-dropdown > a::after { display: none; }
}

/* ---- PAGE INTRO BAND ---- */
.page-intro {
  background: var(--navy);
  padding: 40px 24px;
}
.page-intro h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  max-width: var(--max-w);
  margin: auto;
}
.page-intro p {
  color: rgba(255,255,255,.72);
  max-width: var(--max-w);
  margin: 10px auto 0;
  font-size: .97rem;
}

/* MENTIONS LÉGALES */
.mentions-section { background: var(--white); }
.mentions-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.mentions-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-light); font-size: .9rem; }
.mentions-table td:first-child { font-weight: 600; color: var(--navy); width: 35%; }

/* ---- WHATSAPP FLOTTANT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}
.whatsapp-tooltip {
  position: fixed;
  bottom: 38px;
  right: 96px;
  background: var(--navy);
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-family: var(--font-body);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 998;
}
.whatsapp-float:hover ~ .whatsapp-tooltip {
  opacity: 1;
}
