/* ============================================================
   AQ Lawyer — Styles custom partagés
   Chargé par toutes les pages via <link rel="stylesheet">
   ============================================================ */

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

p, li {
  font-family: 'Lora', 'Cormorant Garamond', Georgia, serif !important;
}
h1, h2 { letter-spacing: -0.02em; }

#situations li {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #05211B; }
::-webkit-scrollbar-thumb { background: #C5A059; border-radius: 2px; }

/* ── Navigation ─────────────────────────────────────────── */

.nav-glass {
  background: rgba(5, 33, 27, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: #E3D9C6;
  transition: width .35s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link-active::after { width: 100% !important; }

/* Overlay page */
#nav-backdrop {
  position: fixed;
  inset: 70px 0 0 0;
  background: rgba(5,33,27,0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
  z-index: 190;
}
#nav-backdrop.open { opacity: 1; visibility: visible; }
#page-content { transition: filter 0.35s ease; }
body.nav-open #page-content { filter: blur(6px) brightness(0.65); }

/* Dropdown Domaines */
#domaines-panel {
  position: fixed;
  top: 78px;
  z-index: 200;
  background: rgba(5,33,27,0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(197,160,89,0.16);
  border-radius: 16px;
  padding: 20px;
  width: 660px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
#domaines-panel.open {
  opacity: 1; visibility: visible;
  pointer-events: auto; transform: translateY(0);
}
#domaines-panel .dp-arrow {
  position: absolute;
  top: -6px;
  width: 11px; height: 11px;
  background: rgba(5,33,27,0.82);
  border-left: 1px solid rgba(197,160,89,0.16);
  border-top: 1px solid rgba(197,160,89,0.16);
  transform: rotate(45deg);
}
.domaine-card {
  background: #05211B;
  border: 0.5px solid rgba(197,160,89,0.2);
  border-radius: 10px;
  padding: 16px 14px;
  display: block;
  transition: border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}
.domaine-card:hover {
  border-color: rgba(197,160,89,0.55);
  background: #0a3028;
}
.domaine-card h4 { color: #E3D9C6; }
.domaine-card p:last-child { color: rgba(227,217,198,0.55); }

/* ── Boutons ─────────────────────────────────────────────── */

.btn-light {
  background: linear-gradient(to top, #C5A059 50%, #E3D9C6 50%);
  background-size: 100% 200%;
  background-position: top;
  color: #05211B;
  transition: background-position 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s ease, box-shadow 0.4s ease;
}
.btn-light:hover {
  background-position: bottom;
  color: #fff;
  box-shadow: 0 0 0 1.5px rgba(197,160,89,0.85),
              0 0 22px rgba(197,160,89,0.45),
              0 0 50px rgba(197,160,89,0.18);
}

.btn-ghost-light {
  background: linear-gradient(to top, #C5A059 50%, rgba(5,33,27,0) 50%);
  background-size: 100% 202%;
  background-position: top;
  border: none;
  box-shadow: inset 0 0 0 0.5px rgba(227,217,198,0.5);
  color: #E3D9C6;
  transition: background-position 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s ease, box-shadow 0.35s ease;
}
.btn-ghost-light:hover {
  background-position: bottom;
  color: #fff;
  box-shadow: 0 0 0 1.5px rgba(197,160,89,0.85),
              0 0 22px rgba(197,160,89,0.45),
              0 0 50px rgba(197,160,89,0.18);
}

.btn-dark {
  background: #05211B;
  color: #E3D9C6;
  transition: background .3s, color .3s;
}
.btn-dark:hover { background: #C5A059; color: #fff; }

.btn-ghost-dark {
  border: 1px solid rgba(5,33,27,0.2);
  color: #05211B;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-ghost-dark:hover { background: #05211B; color: #E3D9C6; border-color: #05211B; }

.btn-or {
  background: #C5A059;
  color: #05211B;
  transition: color 0.35s ease, box-shadow 0.4s ease;
}
.btn-or:hover {
  color: #fff;
  box-shadow: 0 0 0 1.5px rgba(197,160,89,0.9),
              0 0 24px rgba(197,160,89,0.55),
              0 0 55px rgba(197,160,89,0.22);
}

/* ── Cartes services ─────────────────────────────────────── */

.card {
  background: #ffffff;
  border: 0.5px solid rgba(197, 160, 89, 0.35);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  transition: transform .4s ease, box-shadow .5s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 55%; height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(197,160,89,0.09) 50%, transparent 100%);
  transform: skewX(-15deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 1;
}
.card:hover::before { left: 130%; }
.card-with-badge { overflow: visible !important; }
.card-with-badge::before { display: none; }
.card-shine-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: none;
}
.card-shine-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 55%; height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(197,160,89,0.09) 50%, transparent 100%);
  transform: skewX(-15deg);
  transition: left 0.75s ease;
}
.card-with-badge:hover .card-shine-inner::before { left: 130%; }
.card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: rgba(197, 160, 89, 0.65);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06) !important;
}

.expertise-card {
  background: #ffffff;
  border: 0.5px solid rgba(197,160,89,0.35);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  transition: transform .4s ease, box-shadow .5s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -80%;
  width: 55%; height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(197,160,89,0.09) 50%, transparent 100%);
  transform: skewX(-15deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 1;
}
.expertise-card:hover::before { left: 130%; }
.expertise-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(197,160,89,0.65);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
}
.card-title-gold {
  color: #0D0D0D;
  text-shadow: 0 1px 3px rgba(140,106,32,0.22), 0 -1px 0 rgba(255,235,150,0.35);
  transition: color 0.55s ease, text-shadow 0.55s ease;
}
.expertise-card:hover .card-title-gold {
  color: #1a1a1a;
  text-shadow: 0 1px 8px rgba(197,160,89,0.45), 0 -1px 0 rgba(255,245,180,0.55), 0 0 16px rgba(197,160,89,0.18);
}

/* ── Animations ──────────────────────────────────────────── */

@keyframes arrowSlide {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
.animate-arrow-slide { animation: none; }
.card:hover .animate-arrow-slide { animation: arrowSlide 1.6s ease-in-out infinite; }

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}
.animate-arrow-bounce { animation: arrowBounce 1.4s ease-in-out infinite; }
.bounce { animation: arrowBounce 1.4s ease-in-out infinite; }

@keyframes revealLeft {
  from { clip-path: inset(-10px 100% -10px -5px); }
  to   { clip-path: inset(-10px 0%   -10px -5px); }
}
.reveal-mask { display: inline-block; }
.reveal-mask.active { animation: revealLeft 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; }

/* Fade-in scroll */
.fade-up { transition: opacity .35s ease, transform .35s ease; }
.js-animations-ready .fade-up { opacity: 0; transform: translateY(14px); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.aq-fade-in { opacity: 0; transition: opacity 0.8s ease 1.8s; }
.fade-up.visible .aq-fade-in { opacity: 1; }

/* Hero title */
.hero-rise {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s ease 0.5s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
.fade-up.visible .hero-rise { opacity: 1; transform: translateY(0); }

/* Hero H1 responsive */
@media (max-width: 639px) {
  .hero-h1 { font-size: clamp(2.2rem, 9vw, 3rem) !important; line-height: 1.08 !important; }
}

/* Barre or animée */
.line-or-grow {
  width: 24rem;
  height: 1px;
  background: rgba(197, 160, 89, 0.4);
  transform-origin: left center;
  transition: transform 0.6s ease 0.2s;
}
.js-animations-ready .line-or-grow { transform: scaleX(0); }
.fade-up.visible .line-or-grow { transform: scaleX(1); }
#situations .line-or-grow { width: 28rem; }
#situations .fade-up.visible .line-or-grow { transform: scaleX(1); }

.gold-bar { width: 36px; height: 1px; background: #C5A059; }

@media (max-width: 639px) {
  .line-or-grow { width: min(24rem, calc(100vw - 4rem)); }
  #situations .line-or-grow { width: min(28rem, calc(100vw - 4rem)); }
}

/* Animations séquentielles — délais réduits sur mobile */
@media (max-width: 1023px) {
  .cabinet-content { transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s; }
  .cabinet-btn     { transition: opacity 0.35s ease 0.35s, transform 0.35s ease 0.35s; }
  .situations-text { transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s; }
  .situations-btn  { transition: opacity 0.35s ease 0.35s, transform 0.35s ease 0.35s; }
  #situations .line-or-grow { transition: transform 0.5s ease 0.1s; }
  .line-or-grow    { transition: transform 0.5s ease 0.1s; }
}

/* Texte + bouton situations */
.situations-text { transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s; }
.js-animations-ready .situations-text { opacity: 0; transform: translateY(12px); }
.fade-up.visible .situations-text { opacity: 1; transform: translateY(0); }

.situations-btn { transition: opacity 0.35s ease 0.6s, transform 0.35s ease 0.6s; }
.js-animations-ready .situations-btn { opacity: 0; transform: translateY(10px); }
.fade-up.visible .situations-btn { opacity: 1; transform: translateY(0); }

/* Contenu cabinet */
.cabinet-content { transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s; }
.js-animations-ready .cabinet-content { opacity: 0; transform: translateY(14px); }
.fade-up.visible .cabinet-content { opacity: 1; transform: translateY(0); }

.cabinet-btn { transition: opacity 0.35s ease 0.6s, transform 0.35s ease 0.6s; }
.js-animations-ready .cabinet-btn { opacity: 0; transform: translateY(10px); }
.fade-up.visible .cabinet-btn { opacity: 1; transform: translateY(0); }

/* Défilement situations */
#situations ul li > span { transition: background 0.45s ease; }
#situations ul li > p    { transition: color 0.45s ease; }
#situations ul li.sit-active > span { background: #C5A059 !important; }
#situations ul li.sit-active > p    { color: #F5F5F7 !important; }
#situations ul li.sit-active { padding-left: 0.375rem; }

/* ── Formulaire ──────────────────────────────────────────── */

.form-field {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(227,217,198,0.2);
  border-radius: 0;
  color: #E3D9C6;
  transition: border-color .3s ease;
}
.form-field::placeholder { color: rgba(227,217,198,0.15); }
.form-field:focus { outline: none; border-bottom-color: #E3D9C6; }
.form-field:-webkit-autofill,
.form-field:-webkit-autofill:hover,
.form-field:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0d3829 inset !important;
  -webkit-text-fill-color: #E3D9C6 !important;
  caret-color: #E3D9C6;
  border-bottom: 1px solid rgba(227,217,198,0.2);
  transition: background-color 5000s ease-in-out 0s;
}

.cs-trigger {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(227,217,198,0.2);
  cursor: pointer; padding: 12px 0; color: #E3D9C6;
}
.cs-chevron { color: rgba(227,217,198,0.3); transition: transform 0.25s ease; }
.cs-list {
  background: #071a13;
  border: 0.5px solid rgba(197,160,89,0.24);
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  list-style: none; padding: 6px 0; margin: 0; overflow: hidden;
  border-radius: 12px;
}
.cs-opt {
  display: block; background: transparent; border: none;
  padding: 13px 20px; color: rgba(227,217,198,0.55);
  cursor: pointer; width: 100%; text-align: left;
  transition: background 0.15s, color 0.15s;
  font-family: 'Lora', Georgia, serif;
}
.cs-opt:hover { background: rgba(255,255,255,0.05); color: rgba(227,217,198,0.9); }
.cs-opt.selected,
.cs-opt.cs-selected { color: #C5A059; }

/* ── FAQ ─────────────────────────────────────────────────── */

.faq-answer {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .4s ease, opacity .4s ease;
}
.faq-answer.open { max-height: 600px; opacity: 1; }

/* ── Accordéon ───────────────────────────────────────────── */

.accord-item {
  border-bottom: 1px solid rgba(197,160,89,0.15);
  overflow: hidden;
}
.accord-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  gap: 16px;
}
.accord-trigger-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(240, 234, 220, 0.92);
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  line-height: 1.5;
}
.accord-trigger:hover .accord-trigger-title,
.accord-item.open .accord-trigger-title { color: #C5A059; }
.accord-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: rgba(197,160,89,0.5);
  transition: transform 0.35s ease, stroke 0.3s ease;
}
.accord-item.open .accord-icon {
  transform: rotate(45deg);
  stroke: #C5A059;
}
.accord-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.accord-item.open .accord-body { max-height: 240px; }
.accord-body-inner { padding-bottom: 24px; }

/* ── Cartes méthode ──────────────────────────────────────── */

.method-card {
  background: rgba(255,255,255,0.72);
  border: 0.5px solid rgba(197,160,89,0.28);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
}
.method-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197,160,89,0.55);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
}
.method-card-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(197,160,89,0.10);
  position: absolute;
  top: 20px; right: 24px;
  pointer-events: none;
  user-select: none;
}
.method-title {
  background: linear-gradient(to right, #05211B 50%, #A68B5B 50%);
  background-size: 200% 100%;
  background-position: left;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.6s cubic-bezier(0.4,0,0.2,1);
}
.method-title.filled { background-position: right; }
.method-divider {
  height: 1px;
  background: #C5A059;
  margin: 10px 0 18px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
  width: 0;
}

/* ── Cartes articles ─────────────────────────────────────── */

.article-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 0.5px solid rgba(197, 160, 89, 0.25);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  border-color: rgba(197, 160, 89, 0.55);
}
.article-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #0a3028;
}
.article-card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-card-img-wrap img { transform: scale(1.05); }
.article-card-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #05211B 0%, #0d3829 100%);
}
.article-card-img-placeholder svg { opacity: 0.18; }
.article-card-body { padding: 16px 18px 20px; }
.article-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(5, 33, 27, 0.45);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.article-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.4;
  color: #05211B;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.article-card-excerpt {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(5, 33, 27, 0.6);
}
#articles-empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
  color: rgba(5,33,27,0.4);
  font-family: 'Lora', serif;
  font-size: 15px;
}

/* ── Composants spéciaux ─────────────────────────────────── */

.cas-concret {
  background: rgba(227,217,198,0.10);
  border-left: 2px solid #C5A059;
  padding: 14px 18px;
}

.sticky-cta-card {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1),
              backdrop-filter 0.45s ease,
              -webkit-backdrop-filter 0.45s ease,
              box-shadow 0.45s ease,
              border-color 0.35s ease;
}
.sticky-cta-card:hover {
  transform: scale(1.025);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(197,160,89,0.42) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.18);
}

#sticky-contact-cta {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease;
}
#sticky-contact-cta.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.img-shadow { box-shadow: none; }

/* ── Fonds texturés (URLs absolues) ──────────────────────── */

.bg-aq-fond {
  background-image:
    linear-gradient(rgba(5,33,27,0.82), rgba(5,33,27,0.82)),
    url('/public/images/aq_fond.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  .bg-aq-fond { background-attachment: scroll; }
}

.bg-light-texture {
  background-image:
    linear-gradient(rgba(242,237,228,0.88), rgba(227,217,198,0.88)),
    url('/public/images/fond_textured.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  .bg-light-texture { background-attachment: scroll; }
}

.bg-bureau-vert {
  background-image:
    linear-gradient(rgba(5,33,27,0.88), rgba(5,33,27,0.88)),
    url('/public/images/bureau_vert.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  .bg-bureau-vert { background-attachment: scroll; }
}

.bg-service-sable {
  background-image:
    linear-gradient(rgba(242,237,228,0.93), rgba(227,217,198,0.93)),
    url('/public/images/service.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  .bg-service-sable { background-attachment: scroll; }
}

/* Section Domaines — fond texturé index */
#domaines {
  background-image:
    linear-gradient(rgba(242, 237, 228, 0.88), rgba(227, 217, 198, 0.88)),
    url('/public/images/fond_textured.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  #domaines { background-attachment: scroll; }
}

/* FAQ — même fond */
#faq {
  background-image:
    linear-gradient(rgba(242, 237, 228, 0.88), rgba(227, 217, 198, 0.88)),
    url('/public/images/fond_textured.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  #faq { background-attachment: scroll; }
}

/* ── Hero gradient adaptatif ─────────────────────────────── */

.hero-gradient {
  background: linear-gradient(to bottom,
    rgba(5,33,27,0.55) 0%,
    rgba(5,33,27,0.25) 35%,
    rgba(5,33,27,0.80) 70%,
    #05211B 100%
  );
}
@media (min-width: 420px) {
  .hero-gradient {
    background: linear-gradient(to bottom,
      rgba(5,33,27,0.45) 0%,
      rgba(5,33,27,0.10) 40%,
      rgba(5,33,27,0.75) 75%,
      #05211B 100%
    );
  }
}
@media (min-width: 640px) {
  .hero-gradient {
    background: linear-gradient(to bottom,
      rgba(5,33,27,0.30) 0%,
      transparent 50%,
      #05211B 100%
    );
  }
}

/* ── Responsive mobile ───────────────────────────────────── */

@media (max-width: 639px) {
  #hero p.font-serif,
  #domaines .card p,
  #situations p,
  #faq p,
  #contact p,
  footer p.font-light {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  #cabinet p, #cabinet li {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
  }
}

/* ── Animation protocole fiscal ─────────────────────────── */

@keyframes protoDot {
  0%        { offset-distance: 0%;   opacity: 0; transform: scale(1); }
  3%        { offset-distance: 2%;   opacity: 1; transform: scale(1); }
  76%       { offset-distance: 100%; opacity: 1; transform: scale(1); }
  83%       { offset-distance: 100%; opacity: 1; transform: scale(1.7); }
  90%, 100% { offset-distance: 100%; opacity: 0; transform: scale(1); }
}
@keyframes btnGlowSync {
  0%   { box-shadow: 0 0 0 2px rgba(197,160,89,0.85), 0 0 28px rgba(197,160,89,0.55); }
  50%  { box-shadow: 0 0 0 0 rgba(197,160,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(197,160,89,0); }
}
#proto-cta-btn:hover {
  animation: none !important;
  box-shadow: 0 0 0 1.5px rgba(197,160,89,0.85),
              0 0 22px rgba(197,160,89,0.45),
              0 0 50px rgba(197,160,89,0.18) !important;
}

/* Bouton sticky FAQ (fiscal.html + dirigeants.html + international.html) */
#sticky-faq-cta {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease;
}
#sticky-faq-cta.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
