/* ============================================================
   Cabinet Notaire Thierry René — Feuille de styles principale
   Police : Archivo | Palette : marron notarial
   ============================================================ */

/* ── Tokens ── */
:root {
  --brown-900: #1E0F00;
  --brown-800: #3A1A06;
  --brown-700: #5C3A1E;
  --brown-600: #7A4E2D;
  --brown-500: #9A6840;
  --brown-400: #BC8C5C;
  --brown-300: #D4B483;
  --brown-200: #E8D5B0;
  --brown-100: #F5EDD8;
  --brown-50:  #FBF7EF;
  --cream:     #F9F5EC;
  --white:     #FFFFFF;
  --black:     #0A0604;
  --text-main: #1E1208;
  --text-mid:  #4A3520;
  --text-muted:#7A6040;
  --border:    #DDD0B5;
  --shadow:    0 2px 20px rgba(92,58,30,.08);
  --shadow-md: 0 8px 40px rgba(92,58,30,.12);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: .25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ── Typographie ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown-600);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--brown-900);
  margin-bottom: 20px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--brown-600); }
.section-body {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.section-intro {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-header.center { text-align: center; }

/* ── Boutons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--brown-700);
  color: var(--white);
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--brown-700);
  transition: var(--transition);
}
.btn-primary:hover { background: var(--brown-800); border-color: var(--brown-800); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 15px; font-weight: 500;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  color: var(--brown-700);
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid var(--brown-400);
  transition: var(--transition);
}
.btn-outline:hover { background: var(--brown-50); border-color: var(--brown-600); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  color: var(--white);
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.5);
  transition: var(--transition);
}
.btn-outline-dark:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-nav {
  display: inline-flex; align-items: center;
  padding: 10px 20px;
  background: var(--brown-700);
  color: var(--white);
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-nav:hover { background: var(--brown-800); }

/* ── Navigation ── */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav-header.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-svg { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 15px; font-weight: 700; color: var(--brown-900); line-height: 1.2; }
.logo-sub { font-size: 11px; font-weight: 400; color: var(--text-muted); letter-spacing: .05em; }
.nav-links {
  display: none;
  align-items: center; gap: 32px;
}
.nav-links a:not(.btn-nav) {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: color var(--transition);
}
.nav-links a:not(.btn-nav):hover { color: var(--brown-700); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none; border: none; padding: 6px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--brown-800);
  border-radius: 2px; transition: var(--transition);
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-mobile {
  display: flex; flex-direction: column; gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.nav-mobile.open { max-height: 360px; }
.nav-mobile a {
  padding: 16px 24px; font-size: 15px; font-weight: 500;
  color: var(--text-mid); border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: var(--brown-50); }

/* ── HÉROS ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,15,0,.82) 0%, rgba(92,58,30,.65) 60%, rgba(30,15,0,.55) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding-top: 80px; padding-bottom: 80px;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: rgba(212,180,131,.15);
  border: 1px solid rgba(212,180,131,.35);
  border-radius: 50px;
  color: var(--brown-300);
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700; line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; font-weight: 300; color: var(--brown-300); display: block; }
.hero-lead {
  font-size: 18px; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px; max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-stats {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 20px 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 700; color: var(--brown-300); line-height: 1; }
.stat-label { display: block; font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.18); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll span {
  display: block; width: 4px; height: 8px;
  background: rgba(255,255,255,.7); border-radius: 2px;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: .4; }
}

/* ── Bandeau confiance ── */
.trust-band {
  background: var(--brown-50);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
}

/* ── Cabinet ── */
.section-cabinet { padding: 100px 0; background: var(--white); }
.cabinet-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 60px; align-items: center;
}
@media (min-width: 900px) { .cabinet-inner { grid-template-columns: 1fr 1fr; } }
.cabinet-visual { position: relative; }
.cabinet-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-md);
}
.cabinet-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cabinet-img-secondary {
  position: absolute; bottom: -28px; right: -20px;
  width: 200px; height: 160px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.cabinet-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.cabinet-badge-float {
  position: absolute; top: 24px; left: -16px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600; color: var(--brown-800);
  border: 1px solid var(--border);
}
.cabinet-features { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-mid); }

/* ── Expertises ── */
.section-expertises { padding: 100px 0; background: var(--cream); }
.expertises-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .expertises-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .expertises-grid { grid-template-columns: repeat(3, 1fr); } }
.expertise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.expertise-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.exp-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--brown-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.exp-title { font-size: 18px; font-weight: 700; color: var(--brown-900); margin-bottom: 12px; }
.exp-body { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.exp-list { font-size: 13px; color: var(--text-mid); display: flex; flex-direction: column; gap: 7px; }
.exp-list li::before { content: '—'; margin-right: 8px; color: var(--brown-400); }
.expertise-card--cta {
  background: linear-gradient(135deg, var(--brown-800) 0%, var(--brown-700) 100%);
  border-color: var(--brown-700);
}
.expertise-card--cta:hover { transform: none; }
.exp-cta-content { display: flex; flex-direction: column; height: 100%; justify-content: center; gap: 16px; }
.exp-cta-text { font-size: 18px; font-weight: 600; color: var(--white); }
.exp-cta-sub { font-size: 14px; color: rgba(255,255,255,.75); }

/* ── Notaire ── */
.section-notaire { padding: 100px 0; background: var(--white); }
.notaire-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 60px; align-items: start;
}
@media (min-width: 900px) { .notaire-inner { grid-template-columns: 1fr 1fr; } }
.notaire-credentials { margin: 32px 0; display: flex; flex-direction: column; gap: 12px; }
.credential { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-mid); }
.credential svg { flex-shrink: 0; margin-top: 2px; }
.notaire-visual { position: relative; }
.notaire-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.notaire-img-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; }
.notaire-caption {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: rgba(30,15,0,.85);
  color: var(--brown-200);
  font-size: 13px; font-weight: 500;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ── Processus ── */
.section-processus { padding: 100px 0; background: var(--brown-50); }
.processus-steps {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 60px;
}
@media (min-width: 768px) {
  .processus-steps {
    flex-direction: row; align-items: flex-start;
  }
}
.process-step {
  flex: 1; padding: 0 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brown-700); color: var(--white);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.step-content h3 { font-size: 17px; font-weight: 700; color: var(--brown-900); margin-bottom: 10px; }
.step-content p { font-size: 14px; color: var(--text-muted); }
.process-connector {
  flex-shrink: 0;
  width: 2px; height: 40px; background: var(--border);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .process-connector {
    height: 2px; width: 40px; align-self: flex-start;
    margin-top: 27px;
  }
}

/* ── Témoignages ── */
.section-temoignages { padding: 100px 0; background: var(--cream); }
.temoignages-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .temoignages-grid { grid-template-columns: repeat(3, 1fr); } }
.temoignage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.temoignage-stars { display: flex; gap: 3px; }
.temoignage-card p { font-size: 15px; color: var(--text-mid); line-height: 1.75; font-style: italic; flex: 1; }
.temoignage-card footer cite { font-size: 13px; font-style: normal; font-weight: 600; color: var(--brown-600); }

/* ── Honoraires ── */
.section-honoraires { padding: 100px 0; background: var(--white); }
.honoraires-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; margin-bottom: 32px;
}
@media (min-width: 768px) { .honoraires-grid { grid-template-columns: repeat(3, 1fr); } }
.honoraire-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: box-shadow var(--transition);
}
.honoraire-card:hover { box-shadow: var(--shadow-md); }
.honoraire-card--featured {
  border-color: var(--brown-700);
  background: var(--brown-50);
  position: relative;
}
.hon-header h3 { font-size: 18px; font-weight: 700; color: var(--brown-900); margin-bottom: 6px; }
.hon-price { font-size: 13px; font-weight: 600; color: var(--brown-600); letter-spacing: .04em; text-transform: uppercase; }
.hon-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hon-list li {
  font-size: 14px; color: var(--text-mid);
  padding-left: 20px; position: relative;
}
.hon-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brown-400);
}
.honoraires-note {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px 24px;
  background: var(--brown-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.honoraires-note p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── Contact ── */
.section-contact { padding: 100px 0; background: var(--cream); }
.contact-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 60px; align-items: start;
}
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1fr 1fr; } }
.contact-details { margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.detail-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--brown-100); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.detail-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.detail-text a, .detail-text address { font-size: 15px; color: var(--text-mid); }
.detail-text a:hover { color: var(--brown-700); }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--brown-800); }
.form-group label span { color: var(--brown-500); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit; font-size: 15px; color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%237A6040' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brown-600);
  box-shadow: 0 0 0 3px rgba(92,58,30,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-rgpd { display: flex; align-items: flex-start; gap: 12px; }
.form-rgpd input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--brown-700); }
.form-rgpd label { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  background: var(--brown-700); color: var(--white);
  font-size: 16px; font-weight: 600;
  border: none; border-radius: var(--radius);
  transition: var(--transition);
  width: 100%;
}
.btn-submit:hover { background: var(--brown-800); }
.form-success {
  text-align: center;
  padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.form-success h3 { font-size: 20px; font-weight: 700; color: var(--brown-900); }
.form-success p { font-size: 15px; color: var(--text-muted); }
.form-error {
  padding: 14px 18px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  font-size: 14px; color: #991B1B;
  margin-bottom: 8px;
}

/* ── Footer ── */
.footer { background: var(--brown-900); color: rgba(255,255,255,.75); }
.footer-inner {
  padding: 60px 0;
  display: grid; grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 2fr; gap: 60px; } }
.footer .logo-title { color: var(--white); }
.footer .logo-sub { color: var(--brown-300); }
.footer-tagline { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-nav {
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 480px) { .footer-nav { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-300); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 14px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-bottom-inner p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ── FAB ── */
.fab-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  display: flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  background: var(--brown-700); color: var(--white);
  font-size: 14px; font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(92,58,30,.4);
  transition: var(--transition);
}
.fab-cta:hover { background: var(--brown-800); box-shadow: 0 8px 32px rgba(92,58,30,.5); }
@media (min-width: 900px) { .fab-cta { display: none; } }

/* ── Animations d'entrée ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
