/* Site vitrine yel-avocat.fr — CSS autonome */

:root {
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --background: #fff;
  --foreground: #1c1e26;
  --surface: #f5f5f7;
  --muted: #6b6f7b;
  --border: #e2e3e7;
  --primary: #e4162b;
  --primary-hover: #c41224;
  --primary-fg: #fff;
  --radius: 0.5rem;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* Utilities */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 100%; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }
.text-strong { color: var(--foreground); }
.title-bar {
  display: block; width: 3.5rem; height: 3px; background: var(--primary);
  margin-top: 0.75rem; border-radius: 2px;
}
.title-bar--right { margin-left: auto; }
.title-bar--center { margin-left: auto; margin-right: auto; }
.eyebrow, .eyebrow-center, .hero-eyebrow {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--primary);
}
.eyebrow-center { justify-content: center; margin-bottom: 1rem; }
.eyebrow-line { width: 1.25rem; height: 2px; background: var(--primary); flex-shrink: 0; }
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--primary); color: var(--primary-fg);
  padding: 0.95rem 1.5rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px;
  transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--primary) 60%, transparent);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-primary--cta { max-width: 100%; white-space: normal; text-align: left; line-height: 1.35; margin-top: 1.5rem; }
.btn-arrow {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0;
  border-radius: 999px; background: #fff; color: var(--primary);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); padding: 0.55rem 1rem; border-radius: 999px;
  font-size: 0.85rem; background: var(--background); transition: all 250ms ease;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-outline svg { color: var(--primary); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--background);
  transition: box-shadow 300ms ease, background 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--background) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: color-mix(in srgb, var(--border) 60%, transparent);
  box-shadow: 0 4px 20px -12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.65rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 5rem;
}
@media (min-width: 1024px) { .header-inner { padding: 0.85rem 2.5rem; min-height: 5.5rem; } }
.logo {
  display: flex; align-items: center; flex-shrink: 0; line-height: 0;
}
.logo img { height: 64px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 72px; } }
.header-contacts, .nav-desktop { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) {
  .header-contacts, .nav-desktop { display: flex; }
  .header-contacts { gap: 0.75rem; margin-right: auto; margin-left: 2rem; }
  .nav-desktop { gap: 2rem; }
}
.nav-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--foreground) 85%, transparent);
}
.nav-link:hover { color: var(--primary); }
.nav-dropdown { position: relative; }
.nav-menu {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(-0.5rem);
  min-width: 280px; padding: 0.5rem 0; margin-top: 0.75rem;
  background: color-mix(in srgb, var(--background) 95%, transparent); backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent); border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none; transition: all 200ms ease;
}
.nav-dropdown.is-open .nav-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-menu a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1.25rem; font-size: 0.875rem;
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
}
.nav-menu a:hover { background: var(--surface); color: var(--primary); }
.nav-menu-icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 1.15rem; height: 1.15rem;
  color: var(--primary);
}
.nav-menu-icon svg { width: 100%; height: 100%; display: block; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; flex-shrink: 0; padding: 0;
  border-radius: 999px; border: 1px solid var(--border);
  line-height: 0; align-self: center;
  color: #1c1e26;
  -webkit-text-fill-color: #1c1e26;
  background-color: var(--background);
}
.menu-toggle span {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 18px; height: 14px; line-height: 0;
  color: #1c1e26;
}
.menu-toggle span[hidden] { display: none !important; }
.menu-toggle .burger-line {
  display: block; width: 18px; height: 2px;
  background-color: #1c1e26 !important;
  background: #1c1e26 !important;
  border-radius: 1px;
}
.menu-toggle .burger-x {
  position: relative; width: 18px; height: 18px;
  display: inline-block;
  color: #1c1e26;
}
.menu-toggle .burger-x::before,
.menu-toggle .burger-x::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px;
  background-color: #1c1e26 !important;
  background: #1c1e26 !important;
  border-radius: 1px;
}
.menu-toggle .burger-x::before { transform: rotate(45deg); }
.menu-toggle .burger-x::after { transform: rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.nav-mobile {
  border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-title { font-weight: 500; margin: 0; }
.nav-mobile-list {
  border-left: 2px solid color-mix(in srgb, var(--primary) 60%, transparent);
  padding-left: 1rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.nav-mobile-list a, .nav-mobile-contact { font-size: 0.875rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.nav-mobile-list a:hover, .nav-mobile-link:hover { color: var(--primary); }
.nav-mobile-link { font-weight: 500; }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  overflow: visible;
  background-color: var(--surface);
}
@media (min-width: 1024px) {
  .hero {
    background-color: #f3f2f4;
    background-image: linear-gradient(
      180deg,
      #f7f6f8 0%,
      #f0eef1 55%,
      #ebe9ec 100%
    );
    min-height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
  }
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 2rem 1.5rem 0;
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 1024px) {
  .hero-inner {
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 2.5rem 0;
    align-items: stretch;
    min-height: calc(100vh - 5rem);
  }
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
.hero-eyebrow { margin-top: 1rem; }
.hero-text { margin-top: 1.5rem; max-width: 28rem; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.hero-cta {
  margin-top: 2.5rem;
  width: fit-content;
  align-self: flex-start;
}
@media (max-width: 1023px) { .hero-cta { display: none; } }
.hero-copy { min-width: 0; }
@media (min-width: 1024px) {
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 1rem;
  }
}
.hero-visual { width: 100%; min-height: 0; overflow: visible; }
@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
    align-items: stretch;
    height: 100%;
  }
}
/* Pas de transform sur le parent de la note Google (sinon elle est clipée puis réapparaît) */
.hero-visual.reveal {
  transform: none;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-visual.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero-portrait {
  position: relative; width: 100%; max-width: none; margin: 0; aspect-ratio: 4/5;
  overflow: visible;
}
@media (min-width: 1024px) {
  .hero-portrait {
    max-width: none;
    width: 100%;
    height: 100%;
    min-height: 32rem;
    aspect-ratio: auto;
    margin: 0;
  }
}
.hero-glow {
  position: absolute; inset: 4rem 1.5rem 0; border-radius: 999px 999px 0 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.04), transparent);
}
@media (min-width: 1024px) {
  .hero-glow { inset: 3rem 1rem 0; }
}
.hero-portrait > img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25));
}
.google-rating {
  position: absolute; z-index: 5; bottom: -0.65rem; left: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
  background: #fff; padding: 0.9rem 1.15rem; border-radius: 0.85rem;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,0.3);
  animation: float-slow 6s ease-in-out infinite;
  font-family: var(--font-sans);
  /* Isoler le flottement sans créer de clip parent */
  will-change: transform;
}
.google-rating--sm {
  bottom: -0.85rem; left: auto; right: 1rem;
  padding: 0.8rem 1rem;
  gap: 0.7rem;
}
.google-rating-score {
  font-family: var(--font-sans);
  font-size: 1.7rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  color: var(--foreground);
}
.google-rating--sm .google-rating-score { font-size: 1.5rem; }
.google-rating-stars { display: flex; gap: 3px; color: #fbbc04; align-items: center; }
.google-rating-stars svg { width: 15px; height: 15px; }
.google-rating--sm .google-rating-stars svg { width: 14px; height: 14px; }
.google-rating-count {
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-top: 0.25rem; line-height: 1.2;
}
.google-rating--sm .google-rating-count { font-size: 0.78rem; }
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* About */
.about {
  position: relative;
  z-index: 0;
  background: var(--surface);
  padding: 2.5rem 0 3.5rem;
}
@media (min-width: 1024px) {
  .about {
    background: #fff;
    padding: 5.5rem 0 5rem; /* plus d'air après le hero */
  }
}
.about-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about-inner { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 0 2.5rem; }
}
.about h2, .news h2, .faq h2, .bio-band h2, .page-hero h1, .comp-page h1, .legal h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.about-intro { margin-top: 1.5rem; max-width: 32rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.comp-tabs {
  margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem 0.25rem;
}
@media (min-width: 1024px) { .comp-tabs { grid-template-columns: repeat(5, 1fr); margin-top: 3rem; gap: 1rem 0.5rem; } }
.comp-tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center;
}
.comp-tab-icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px;
  color: color-mix(in srgb, var(--foreground) 60%, transparent); transition: all 300ms ease;
}
@media (min-width: 1024px) {
  .comp-tab-icon { width: 3rem; height: 3rem; }
}
.comp-tab.is-active .comp-tab-icon {
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
}
.comp-tab-label {
  font-size: 0.62rem; font-weight: 600; color: var(--muted);
  text-align: center; line-height: 1.2; max-width: 5.25rem;
}
@media (min-width: 1024px) {
  .comp-tab-label { font-size: 0.65rem; max-width: 5.5rem; line-height: 1.25; }
}
.comp-tab.is-active .comp-tab-label { color: var(--primary); }
.comp-tab-bar {
  width: 1.5rem; height: 2px; border-radius: 999px; background: var(--primary); opacity: 0;
}
.comp-tab.is-active .comp-tab-bar { opacity: 1; }
.comp-summary {
  margin-top: 2rem; border-left: 2px solid var(--primary); padding-left: 1.25rem;
  font-size: 0.95rem; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 85%, transparent);
}
/* Même marge horizontale que le hero pour aligner les photos sur mobile */
.about-media { position: relative; padding: 0 0 3rem; width: 100%; }
@media (min-width: 1024px) { .about-media { padding: 0 1.25rem 3rem 0; } }
.about-photo {
  aspect-ratio: 5/6; overflow: hidden; border-radius: 24px 24px 24px 90px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.35); position: relative; min-height: 280px;
  width: 100%;
}
@media (min-width: 640px) { .about-photo { aspect-ratio: 5/4; } }
@media (min-width: 1024px) { .about-photo { aspect-ratio: auto; min-height: 460px; } }
.about-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-quote {
  position: absolute; z-index: 2; left: 1.5rem; right: 0; bottom: -0.25rem;
  background: var(--primary); color: var(--primary-fg);
  border-radius: 16px 0 0 0; padding: 0.9rem 1rem;
  box-shadow: 0 24px 48px -18px rgba(228,22,43,0.55);
  font-size: 0.8rem; line-height: 1.6;
}
@media (min-width: 640px) {
  .about-quote { left: 26%; right: -1.25rem; bottom: -0.75rem; padding: 1rem 1.25rem; }
}
@media (min-width: 1024px) {
  .about-quote { left: auto; right: -2rem; bottom: -1rem; width: 65%; padding: 1.25rem 1.5rem; }
}

/* FAQ */
.faq {
  max-width: 1120px; margin: 0 auto; padding: 3.5rem 1.5rem;
  background: var(--background);
}
@media (min-width: 1024px) { .faq { padding: 6rem 2.5rem; } }
.faq-title-wrap { display: flex; justify-content: flex-start; }
.faq-title-wrap .title-bar--right { margin-left: 0; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: var(--radius); background: var(--background); transition: all 300ms ease;
}
.faq-item[open], .faq-item:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.18);
}
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.5rem; font-size: 1rem; font-weight: 500; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  display: grid; place-items: center; width: 2rem; height: 2rem; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 0.25rem; color: var(--muted);
}
.faq-item[open] .faq-plus { display: none; }
.faq-item:not([open]) .faq-minus { display: none; }
.faq-answer {
  margin: 0 1.5rem 1.5rem; padding-left: 1rem; border-left: 2px solid var(--primary);
  font-size: 0.875rem; color: var(--muted); line-height: 1.7;
}

/* News / Blog */
.news { padding: 1.5rem 0 5rem; }
@media (min-width: 1024px) { .news { padding: 1rem 0 4.5rem; } }
.section-narrow { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .section-narrow { padding: 0 2.5rem; } }
.news-grid {
  margin-top: 2rem; display: grid; gap: 2rem;
}
@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
}
@media (min-width: 1024px) {
  .news-grid { gap: 1.75rem; margin-top: 1.75rem; }
}
.news-grid--blog { grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 768px) {
  .news-grid--blog { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .news-card--featured { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .news-grid--blog { gap: 1.75rem 2rem; }
}
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1rem;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2); }
.news-card-link { display: block; }
.news-card-img {
  overflow: hidden; aspect-ratio: 16/10; background: var(--surface);
  border-radius: calc(var(--radius) - 2px);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.85rem;
  padding-inline: 0.15rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary);
}
@media (min-width: 1024px) {
  .news-card { padding: 1.15rem; }
  .news-card-meta { margin-top: 0.75rem; }
}
.news-card h3 {
  margin-top: 0.45rem; font-size: 1.2rem; line-height: 1.3; text-align: left;
  padding-inline: 0.15rem;
}
@media (min-width: 1024px) {
  .news-card h3 { margin-top: 0.4rem; font-size: 1.15rem; }
}
.news-card p {
  margin-top: 0.45rem; font-size: 0.875rem; color: var(--muted); line-height: 1.55; text-align: left;
  padding-inline: 0.15rem;
}
@media (min-width: 1024px) {
  .news-card p { margin-top: 0.4rem; line-height: 1.5; }
}
.news-more { margin-top: 2rem; text-align: center; padding-bottom: 0.5rem; }
@media (min-width: 1024px) { .news-more { margin-top: 1.75rem; } }
.news-more .btn-primary {
  width: fit-content;
}
.article-coming {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--muted);
  font-style: italic;
}

/* Competence page */
.comp-page { padding: 2.5rem 0 4rem; }
.comp-page-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .comp-page-inner { padding: 0 2.5rem; } }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--muted); margin-bottom: 2rem;
}
.crumb-sep { color: var(--primary); }
.comp-page-grid { display: flex; flex-direction: column; gap: 1.5rem; }
@media (max-width: 1023px) {
  .comp-page-copy { display: contents; }
  .comp-page-copy h1 { order: 1; }
  .comp-page-media { order: 2; }
  .comp-page-body { order: 3; }
  .comp-page-copy > .btn-primary { order: 4; }
}
@media (min-width: 1024px) {
  .comp-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}
.comp-page-body { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.comp-page-body strong { color: var(--foreground); font-weight: 600; }
.comp-bullets { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.comp-bullets li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--muted); font-weight: 400; }
.comp-bullets .dot { width: 0.4rem; height: 0.4rem; margin-top: 0.55rem; border-radius: 999px; background: var(--primary); flex-shrink: 0; }
.comp-page-media { position: relative; width: 100%; }
.comp-page-copy h1 { text-align: left; }
.comp-hero-img {
  position: relative;
  overflow: visible;
  padding-top: 0.85rem;
  padding-bottom: 1.5rem; /* laisse dépasser la note Google */
}
.comp-hero-img > img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: 20px 20px 20px 72px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.35);
  display: block;
}
@media (min-width: 1024px) { .comp-hero-img > img { aspect-ratio: 4/5; } }
.comp-hero-icon {
  position: absolute; top: 0; left: 1.25rem;
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 999px; background: var(--primary); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(228,22,43,0.6);
  z-index: 3;
}
@media (min-width: 640px) {
  .comp-hero-icon { width: 4rem; height: 4rem; left: 2rem; }
}
/* Note Google : posée sur l'image, légèrement débordante + flottement */
.comp-hero-img .google-rating--sm {
  bottom: -0.85rem;
  right: 1rem;
  left: auto;
  animation: float-slow 6s ease-in-out infinite;
}
.comp-page .hero-cta { display: none; }
@media (min-width: 1024px) { .comp-page .hero-cta { display: inline-flex; margin-top: 2.5rem; } }

.bio-band {
  position: relative;
  background: var(--surface);
  padding: 3.5rem 0 0;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .bio-band { padding: 4.5rem 0 0; }
}
.bio-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: grid; gap: 2.5rem; align-items: end;
}
@media (min-width: 1024px) {
  .bio-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
    padding: 0 2.5rem;
    align-items: stretch;
  }
}
.bio-photo {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  z-index: 1;
  width: 100%;
  order: 2;
}
@media (min-width: 1024px) {
  .bio-photo {
    max-width: 420px;
    margin: 0;
    order: 0;
    align-self: end;
  }
}
.bio-photo img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}
@media (min-width: 1024px) {
  .bio-photo img {
    max-height: none;
    height: auto;
    width: 100%;
    object-fit: contain;
    object-position: center top;
    border-radius: var(--radius);
  }
}
.bio-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  order: 1;
}
@media (min-width: 1024px) {
  .bio-copy {
    padding: 0;
    order: 0;
    align-self: center;
  }
}
.bio-band h2 { position: relative; }
.bio-band p { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.bio-band .btn-primary { margin-top: 1.5rem; width: fit-content; }

/* Blog / article / legal */
.page-hero { padding: 2.75rem 1.5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .page-hero { padding: 3.25rem 1.5rem 1.5rem; } }
@media (min-width: 1024px) { .page-hero { padding: 3.5rem 2.5rem 1.25rem; } }
.page-intro {
  margin-top: 1.25rem; color: var(--muted); max-width: 40rem;
  margin-inline: auto; line-height: 1.7; font-size: 0.95rem;
}
@media (min-width: 1024px) { .page-intro { margin-top: 1rem; } }
.blog-list { padding: 0.5rem 0 5rem; }
@media (min-width: 1024px) { .blog-list { padding: 0.25rem 0 4rem; } }
.article-header { background: var(--surface); padding: 2rem 0 2.5rem; }
@media (min-width: 768px) { .article-header { padding: 2.5rem 0 3rem; } }
.article-narrow { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem); margin-top: 1rem; text-align: left;
}
.article-hero { max-width: 880px; margin: -1.25rem auto 0; padding: 0 1.5rem; }
@media (min-width: 768px) { .article-hero { margin-top: -2rem; } }
.article-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 20px 50px -24px rgba(0,0,0,0.3); }
.article-body {
  padding: 2rem 1.5rem 5rem; display: flex; flex-direction: column;
  gap: 1.25rem; color: var(--muted); line-height: 1.8;
}
@media (min-width: 768px) { .article-body { padding: 3rem 1.5rem 4rem; } }
.article-note { font-size: 0.875rem; }
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-nav > a,
.article-nav > span {
  min-width: 0;
}
.article-nav > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--background);
  text-decoration: none;
  transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease, color 250ms ease;
}
.article-nav > a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(0,0,0,0.2);
}
.article-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.article-nav-title { display: none; }
.article-nav > a:hover .article-nav-title { color: var(--primary); }
.article-nav > a:first-child:not(:last-child) {
  justify-self: stretch;
  text-align: left;
  justify-content: flex-start;
}
.article-nav > a:last-child {
  justify-self: stretch;
  text-align: right;
  align-items: center;
  justify-content: flex-end;
}
.article-nav > a:only-child {
  justify-self: start;
  text-align: left;
  align-items: flex-start;
  grid-column: 1;
}
.article-nav > span:empty {
  display: block;
}
.article-back {
  margin-top: 0.5rem;
  text-align: center;
}
.article-back .btn-outline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.25rem;
}
.legal { padding: 4rem 0 6rem; }
.legal-inner { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.legal-note { margin-top: 1.5rem; color: var(--muted); font-size: 0.875rem; }
.legal-block { margin-top: 3rem; }
.legal-block h2 {
  position: relative; display: inline-block; padding-bottom: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}
.legal-block h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 2.5rem; height: 3px; background: var(--primary);
}
.legal-block p, .legal-block li { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.legal-block ul { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; }
.legal-block a { color: var(--primary); }
.legal-block a:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--background); }
.footer-grid {
  max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem;
  display: grid; gap: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .footer-grid { padding-inline: 2.5rem; } }
.footer-tagline { margin-top: 1.5rem; max-width: 16rem; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.site-footer h4 {
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.02em; text-transform: none; margin-bottom: 1.25rem;
  color: var(--foreground);
}
.site-footer ul { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.site-footer a:hover { color: var(--primary); }
.site-footer address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-address {
  display: inline-block;
}
.footer-address:hover { color: var(--primary); }
.footer-name { font-weight: inherit; color: inherit; }
.footer-contact-links { margin-top: 0.75rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--max); margin: 0 auto; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
  font-size: 0.75rem; color: var(--muted);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; padding-inline: 2.5rem; }
}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* Floating mobile */
.floating-cta {
  display: none; position: fixed; z-index: 40; left: 1rem; right: 5rem; bottom: 1rem;
  align-items: center; justify-content: center;
  background: var(--primary); color: #fff; border-radius: 999px;
  padding: 0.9rem 1.25rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--primary) 65%, transparent);
}
@media (max-width: 1023px) { .floating-cta { display: flex; } }
.scroll-top {
  position: fixed; z-index: 40; right: 1rem; bottom: 1rem;
  width: 3rem; height: 3rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: var(--background); color: var(--foreground);
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,0.35);
  transform: rotate(180deg);
}
.scroll-top[hidden] { display: none; }
@media (min-width: 1024px) { .scroll-top { right: 1.5rem; bottom: 1.5rem; } }
.scroll-top:hover { border-color: var(--primary); color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .google-rating { animation: none; }
}

/* Groupe flottant mobile : visio + cabinet */
.floating-group {
  position: fixed; z-index: 40; left: 1rem; right: 5rem; bottom: 1rem;
  display: none; flex-direction: row; gap: 0.5rem;
}
@media (max-width: 1023px) { .floating-group { display: flex; } }
.floating-group .floating-cta { position: static; display: flex; flex: 1; padding: 0.85rem 0.5rem; white-space: nowrap; }
@media (max-width: 1023px) { .site-footer { padding-bottom: 5.5rem; } }
.floating-cta--outline {
  background: var(--background); color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.25);
}
.hero-cta-group { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.hero-cta-group .btn-outline { padding: 0.9rem 1.5rem; }

/* Page contact */
.contact-cards { display: grid; gap: 1.25rem; margin: 2rem 0 3rem; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 1rem; padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start;
}
.contact-card h2 { font-size: 1.15rem; }
.contact-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.contact-card .btn-primary, .contact-card .btn-outline { margin-top: auto; }
.contact-form { display: grid; gap: 1.1rem; max-width: 46rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.85rem; font-weight: 600; }
.form-field label .req { color: var(--primary); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 0.5rem; padding: 0.7rem 0.9rem; font: inherit; font-size: 0.92rem;
  background: var(--background); color: var(--foreground);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--primary); outline-offset: 1px;
}
.form-radios { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.form-radios label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.92rem; font-weight: 500; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.form-consent input { margin-top: 0.2rem; }
.form-note {
  border-left: 3px solid var(--primary); padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  font-size: 0.88rem; line-height: 1.6;
}
.form-error {
  border: 1px solid #b3261e; color: #b3261e; border-radius: 0.5rem;
  padding: 0.9rem 1.1rem; font-size: 0.9rem;
}
.form-error[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-legend { font-size: 0.85rem; font-weight: 600; }

/* Carte d'acces (facade Google Maps, chargement au clic) */
.map-box {
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  border-radius: 1rem; overflow: hidden; margin-top: 1rem;
}
.map-facade {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; text-align: center; padding: 2.5rem 1.5rem;
  background: color-mix(in srgb, var(--primary) 4%, transparent);
}
.map-facade p { color: var(--muted); font-size: 0.85rem; max-width: 32rem; }
.map-box iframe { display: block; width: 100%; height: 24rem; border: 0; }

/* Bouton Contact dans la barre de navigation */
.nav-contact-btn {
  background: var(--primary); color: #fff !important;
  padding: 0.5rem 1.2rem; border-radius: 999px; font-weight: 600;
  transition: background 0.2s ease;
}
.nav-contact-btn:hover { background: color-mix(in srgb, var(--primary) 85%, black); }

/* Boutons dans les blocs legaux : texte blanc lisible */
.legal-block a.btn-primary { color: #fff; }
.legal-block a.btn-primary:hover { text-decoration: none; }

/* Bandeau d'information cookies */
.cookie-banner {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  background: var(--foreground); color: #fff;
  padding: 0.9rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  align-items: center; justify-content: center;
  font-size: 0.8rem; line-height: 1.5;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
.cookie-banner p { margin: 0; max-width: 46rem; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner button {
  background: var(--primary); color: #fff; border: 0; cursor: pointer;
  border-radius: 999px; padding: 0.5rem 1.4rem;
  font: inherit; font-weight: 600;
}
body.cookie-banner-visible .floating-group { bottom: 7.5rem; }
@media (max-width: 640px) { body.cookie-banner-visible .floating-group { bottom: 9.5rem; } }


/* --- Articles de blog (23.07.2026) --- */
.article-body h2 { color: var(--foreground); font-size: 1.4rem; margin-top: 0.75rem; }
.article-body strong { color: var(--foreground); }
.article-cta {
  margin-top: 2rem; padding: 1.75rem 1.5rem; text-align: center;
  background: var(--surface); border-radius: var(--radius);
}
.article-cta h2 { margin-top: 0; }
.article-cta p { margin: 0.6rem auto 1.15rem; max-width: 34rem; }
.article-cta .btn-primary { display: inline-flex; }


/* --- Justification des textes (23.07.2026) --- */
main p, main li, main .faq-answer {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.news-card p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.page-hero p, .text-center p, .article-cta p, .map-facade p {
  text-align: center;
  hyphens: none;
  -webkit-hyphens: none;
}

/* --- SEO 23.07.2026 : encart articles --- */
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
