/* ==========================================================================
   L’EMPREINTE FUNÉRAIRE — LE MARIN, MARTINIQUE
   Feuille de style partagée (Architecture statique modulaire)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #faf8f4;
  --paper-elevated: #fffdf9;
  --cream: #f0eae1;
  --sand: #e7ddd0;
  --ink: #2c2622;
  --muted: #695e54;
  --taupe: #866d59;
  --taupe-dark: #6b5544;
  --line: #dfd5ca;
  --line-strong: #cbbbac;
  --whatsapp: #235e46;
  --whatsapp-hover: #1b4936;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --shadow-soft: 0 12px 32px rgba(44, 38, 34, 0.06);
  --shadow-modal: 0 24px 60px rgba(32, 26, 22, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.7 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button, a, input, textarea, select, summary {
  outline-offset: 4px;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.1;
}

h3 {
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.24;
}

.wrap {
  width: min(1280px, 90%);
  margin-inline: auto;
}

/* Lien d'évitement accessibilité */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
}
.skip-link:focus {
  left: 12px;
}

/* Surtitre (Eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--taupe);
  font-family: var(--font-sans);
}

.eyebrow::after {
  content: '';
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--line-strong);
}

/* Boutons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 24px;
  border: 1px solid var(--taupe);
  color: var(--ink);
  background: transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--cream);
}

.button.solid {
  background: var(--taupe);
  border-color: var(--taupe);
  color: #fff;
}

.button.solid:hover {
  background: var(--taupe-dark);
  border-color: var(--taupe-dark);
}

.button .arrow::after {
  content: '→';
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
  display: inline-block;
}

.button:hover .arrow::after {
  transform: translateX(3px);
}

.whatsapp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--whatsapp);
  background: var(--whatsapp);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp-action:hover {
  background: var(--whatsapp-hover);
}

/* ==========================================================================
   EN-TÊTE COMMUN & NAVIGATION (Avec Menu déroulant Collections & Urgence)
   ========================================================================== */
.top {
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}

.header {
  width: min(1440px, 94%);
  margin-inline: auto;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.emblem {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wordmark {
  font: 500 clamp(24px, 2.2vw, 31px)/1.08 var(--font-serif);
  color: var(--ink);
  display: block;
}

.brand-tagline {
  display: block;
  font: italic 14px/1.35 var(--font-serif);
  color: var(--taupe);
  letter-spacing: 0.01em;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav > a,
.nav-dropdown-toggle {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav > a:hover,
.nav > a[aria-current],
.nav-dropdown-toggle:hover,
.nav-dropdown.active .nav-dropdown-toggle {
  color: var(--taupe);
  border-bottom-color: var(--taupe);
}

/* Menu déroulant Collections */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle .chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle .chevron,
.nav-dropdown:hover .nav-dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  width: 295px;
  background: var(--paper-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 40;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

@media (min-width: 1081px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 2px;
  transition: background 0.18s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background: var(--cream);
}

.nav-dropdown-menu strong {
  display: block;
  font: 500 18px/1.2 var(--font-serif);
  color: var(--ink);
}

.nav-dropdown-menu small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Zone Contact & Numéro d'urgence dans le Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-phone {
  text-align: right;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.header-phone small {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  font-weight: 600;
}

.header-phone a {
  font: 600 14.5px/1.4 var(--font-sans);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.header-phone a:hover {
  color: var(--taupe);
}

.header-actions .button {
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 12.5px;
}

.menu-toggle,
.mobile-nav-contact {
  display: none;
}

/* ==========================================================================
   HERO ACCUEIL & ACCÈS RAPIDE
   ========================================================================== */
.hero {
  min-height: 630px;
  position: relative;
  background: #e1d4c4 url('salon.webp') center 54% / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero-box {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(4px);
  width: min(760px, 60%);
  padding: 42px max(5vw, calc((100vw - 1280px) / 2)) 42px;
  padding-right: 48px;
  border-top: 1px solid rgba(223, 213, 202, 0.7);
  border-right: 1px solid rgba(223, 213, 202, 0.7);
}

.hero h1 {
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
}

.hero p {
  font: 400 clamp(21px, 2vw, 25px)/1.45 var(--font-serif);
  color: #6e5846;
  max-width: 560px;
}

.hero .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.quick {
  background: #f4efe7;
  border-bottom: 1px solid var(--line);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 0;
}

.quick a {
  padding: 6px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-right: 1px solid var(--line);
  transition: transform 0.2s ease;
}

.quick a:first-child {
  padding-left: 0;
}

.quick a:last-child {
  border-right: 0;
}

.quick a:hover {
  transform: translateX(4px);
}

.quick b {
  display: block;
  font: 500 22px/1.25 var(--font-serif);
  color: var(--ink);
}

.quick small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 250px;
  margin-top: 4px;
}

.quick a > span:last-child {
  font-size: 24px;
  color: var(--taupe);
}

/* ==========================================================================
   SECTIONS PAGE D'ACCUEIL
   ========================================================================== */
section {
  scroll-margin-top: 108px;
}

.services {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 45px;
  margin: 14px 0 38px;
}

.section-head p {
  max-width: 390px;
  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--paper-elevated);
  border: 1px solid #e7ded4;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card-img-wrap {
  overflow: hidden;
  height: 225px;
  background: var(--cream);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

.card button {
  border: 0;
  background: none;
  text-align: left;
  padding: 18px 0 0;
  margin-top: auto;
  color: var(--taupe-dark);
  font-size: 13px;
  font-weight: 500;
}

.card button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Grille détaillée des prestations d'obsèques */
.pillars-box {
  margin-top: 42px;
  padding: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.pillars-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.pillars-head h3 {
  font-size: 28px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-item {
  background: var(--paper-elevated);
  padding: 22px;
  border: 1px solid #e5dcd1;
}

.pillar-item strong {
  display: block;
  font: 500 20px/1.25 var(--font-serif);
  margin-bottom: 8px;
  color: var(--ink);
}

.pillar-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Collection / Objets & Hommages */
.collection {
  padding: 75px 0;
  background: var(--cream);
}

.collection-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: start;
}

.collection-visual {
  position: sticky;
  top: 130px;
}

.collection-visual img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.collection-visual p {
  font: italic 22px/1.45 var(--font-serif);
  margin-top: 18px;
  color: var(--muted);
}

.offer {
  padding: 24px 0;
  border-bottom: 1px solid #d8cbbd;
}

.offer:first-child {
  padding-top: 0;
}

.offer h3 {
  margin: 8px 0;
}

.offer p {
  color: var(--muted);
  font-size: 14px;
  max-width: 530px;
}

.offer .button {
  margin-top: 15px;
}

.proposal {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 26px;
  font-style: italic;
}

/* Entretien & Fleurissement */
.maintenance {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.maintenance-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.maintenance p {
  color: var(--muted);
  margin: 18px 0;
}

.maintenance h2 {
  margin-top: 14px;
}

.maintenance ul {
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
}

.maintenance li {
  margin: 10px 0;
}

.maintenance-box {
  background: var(--cream);
  padding: 36px;
  border: 1px solid var(--line);
}

.maintenance-box h3 {
  margin-bottom: 12px;
}

.maintenance-box p {
  margin: 0 0 20px;
}

/* Qui sommes-nous (Gladys Prudent & 20 ans d'expérience) */
.about {
  padding: 80px 0;
}

.about-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.about h2 {
  margin-top: 16px;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 18px;
  background: var(--cream);
  border-left: 3px solid var(--taupe);
}

.founder-badge strong {
  display: block;
  font: 500 20px/1.2 var(--font-serif);
}

.founder-badge span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.about-story p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.about-story .about-lead {
  font: 400 clamp(23px, 2.2vw, 27px)/1.45 var(--font-serif);
  color: var(--ink);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 44px;
}

.about-values article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.about-values h3 {
  margin: 12px 0;
}

.about-values p {
  font-size: 14px;
  color: var(--muted);
}

.about-end {
  margin-top: 42px;
  padding: 32px 36px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.about-end p {
  font: italic 25px/1.4 var(--font-serif);
  max-width: 640px;
}

.about-end button {
  flex-shrink: 0;
}

/* Témoignages / Paroles de familles */
.testimonials {
  padding: 70px 0;
  background: #f3ede4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.testimonial-card {
  background: var(--paper-elevated);
  border: 1px solid #e4dbd0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font: italic 19px/1.5 var(--font-serif);
  color: var(--ink);
  margin-bottom: 20px;
}

.testimonial-meta {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.testimonial-meta strong {
  color: var(--ink);
  display: block;
  font-weight: 600;
}

/* Notre Agence au Marin & Ancrage Martinique */
.presence {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: #e9dfd3;
}

.presence-image {
  min-height: 480px;
  background: url('salon.webp') 82% center / cover no-repeat;
}

.presence-copy {
  padding: 64px clamp(28px, 5vw, 76px);
}

.presence h2 {
  margin: 14px 0 18px;
}

.presence p {
  font-size: 14.5px;
  color: #5b4d41;
  max-width: 500px;
  margin-bottom: 22px;
}

.agency-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0;
  padding: 22px;
  background: rgba(250, 248, 244, 0.78);
  border: 1px solid #d8cab9;
}

.agency-details div strong {
  display: block;
  font: 600 11px/1.4 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--taupe-dark);
  margin-bottom: 5px;
}

.agency-details div span {
  display: block;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
}

.presence-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Étapes & FAQ */
.steps {
  padding: 75px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 35px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.number {
  font: italic 36px/1 var(--font-serif);
  color: var(--taupe);
}

.step h3 {
  margin: 14px 0 10px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.faq {
  padding: 60px 0 75px;
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 60px;
}

.faq h2 {
  margin-top: 15px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}

summary {
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font: 400 22px/1 var(--font-serif);
  color: var(--taupe);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: '−';
}

details p {
  padding: 14px 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  padding: 64px 0;
  background: #e9dfd3;
}

.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact h2 {
  margin: 12px 0;
}

.contact p {
  color: #5b4d41;
  font-size: 14.5px;
}

/* ==========================================================================
   CATALOGUES (PRODUITS, FLEURS, SOUVENIRS)
   ========================================================================== */
.catalog-hero {
  min-height: 560px;
  background: #e5d8c8 center center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.catalog-hero-copy {
  width: min(760px, 60%);
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(4px);
  padding: 38px max(5vw, calc((100vw - 1280px) / 2));
  padding-right: 42px;
  border-top: 1px solid rgba(223, 213, 202, 0.7);
  border-right: 1px solid rgba(223, 213, 202, 0.7);
}

.catalog-hero h1 {
  font: 500 clamp(42px, 4.8vw, 68px)/1.04 var(--font-serif);
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
}

.catalog-hero p {
  font: 400 clamp(20px, 1.9vw, 24px)/1.45 var(--font-serif);
  color: #6e5846;
  max-width: 580px;
  margin-bottom: 24px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin: 24px 0;
}

.breadcrumb a:hover {
  color: var(--taupe);
  text-decoration: underline;
}

.catalog-toolbar {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  scroll-margin-top: 110px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filters button {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 12.5px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.filters button:hover {
  border-color: var(--taupe);
  color: var(--ink);
}

.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.search-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.search-row input {
  width: min(400px, 65vw);
  margin: 0;
  background: var(--paper-elevated);
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  font-size: 13px;
}

.search-row p {
  font-size: 12.5px;
  color: var(--muted);
}

.catalog-note {
  padding: 22px 26px;
  background: var(--cream);
  border-left: 3px solid var(--taupe);
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 35px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 26px;
  padding-bottom: 70px;
}

.product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product[hidden] {
  display: none;
}

.product-photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #e6ddd2;
  background: #f2ece4;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

.product-photo:hover img {
  transform: scale(1.04);
}

.product-photo .zoom-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 11px;
  background: rgba(250, 248, 244, 0.94);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 2px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 500;
  background: var(--cream);
  color: var(--muted);
  border: 1px solid #dfd4c7;
  border-radius: 2px;
}

.badge.highlight {
  background: #e9dfd2;
  color: var(--taupe-dark);
  border-color: #d2c1ae;
}

.product-caption {
  padding: 14px 2px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-caption .eyebrow {
  font-size: 9.5px;
}

.product-caption h3 {
  font-size: 26px;
  margin: 7px 0;
}

.product-caption p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.product-link {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--taupe-dark);
  font-size: 12.5px;
  font-weight: 500;
  padding: 12px 0 6px;
  margin-top: auto;
  text-align: left;
  align-self: flex-start;
}

.product-link:hover {
  border-bottom-color: var(--taupe-dark);
}

.floral-help {
  padding: 34px 38px;
  margin: 0 auto 55px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.floral-help h2 {
  font-size: 32px;
  margin: 10px 0 12px;
}

.floral-help p {
  color: var(--muted);
  max-width: 850px;
  font-size: 14px;
}

.catalog-foot {
  background: var(--cream);
  padding: 55px 0;
  border-top: 1px solid var(--line);
}

.catalog-foot h2 {
  font-size: 38px;
  margin: 12px 0 14px;
}

.catalog-foot p {
  max-width: 650px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   PIED DE PAGE COMMUN
   ========================================================================== */
.site-footer {
  background: #eee7de;
  padding: 60px 0 30px;
  border-top: 1px solid #d5c6b6;
  color: #44392f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.15fr 1.1fr;
  gap: 40px;
}

.footer-title {
  font: 500 31px/1.15 var(--font-serif);
  display: block;
}

.site-footer .footer-tagline {
  font: italic 16px/1.5 var(--font-serif);
  margin: 10px 0 18px;
  color: #77604d;
}

.footer-brand > p:last-child {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.75;
  color: #695b4e;
}

.site-footer h2 {
  font: 500 22px/1.3 var(--font-serif);
  margin: 4px 0 20px;
}

.site-footer nav > a,
.footer-contact > a {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin: 11px 0;
  color: #5e5043;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact .footer-phone {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.footer-contact p {
  font-size: 13px;
  line-height: 1.75;
  color: #695b4e;
  margin: 16px 0;
}

.footer-bottom {
  border-top: 1px solid #d5c6b6;
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11.5px;
  color: #695b4e;
}

.footer-bottom > div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-info {
  border: 0;
  background: transparent;
  padding: 0;
}

.footer-info:hover {
  text-decoration: underline;
}

.footer-preview {
  font-size: 11px;
  line-height: 1.65;
  color: #796a5c;
  margin-top: 18px;
  max-width: 1020px;
}

/* ==========================================================================
   MODALES (DIALOG) & FORMULAIRES GUIDÉS
   ========================================================================== */
dialog {
  width: min(580px, 93vw);
  border: 1px solid var(--line);
  padding: 36px;
  background: var(--paper);
  color: var(--ink);
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-modal);
}

dialog::backdrop {
  background: rgba(32, 26, 22, 0.55);
  backdrop-filter: blur(2px);
}

dialog h2 {
  font-size: 36px;
  margin: 10px 30px 16px 0;
}

.close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  padding: 6px;
}

.close:hover {
  color: var(--ink);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  margin: 14px 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input, textarea, select {
  display: block;
  width: 100%;
  padding: 11px 12px;
  background: var(--paper-elevated);
  border: 1px solid var(--line-strong);
  margin-top: 5px;
  border-radius: 2px;
  font-size: 13.5px;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--taupe);
  outline: 1px solid var(--taupe);
}

textarea {
  resize: vertical;
}

.status-box {
  padding: 18px;
  background: var(--cream);
  border-left: 3px solid var(--taupe);
  margin-top: 20px;
  font-size: 13.5px;
}

.dialog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Visionneuse Produit */
.viewer {
  width: min(1060px, 94vw);
  padding: 0;
}

.viewer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

.viewer-photo {
  background: #eee8df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.viewer-photo img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
}

.viewer-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ddd2c5;
}

.viewer-nav button {
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 8px;
}

.viewer-nav button:hover {
  color: var(--ink);
  text-decoration: underline;
}

.viewer-copy {
  padding: 40px 34px;
}

.viewer h2 {
  font-size: 36px;
}

.viewer-copy p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.viewer-copy .original-link {
  display: inline-block;
  text-decoration: underline;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0;
}

.viewer-copy .button,
.viewer-copy .whatsapp-product {
  width: 100%;
  margin-top: 10px;
}

.variant-picker {
  background: var(--cream);
  padding: 14px 16px;
  margin: 16px 0;
  border: 1px solid var(--line);
}

.variant-picker label {
  margin: 0;
  font-size: 12px;
}

.request-product {
  color: var(--taupe-dark);
  font: 500 22px/1.3 var(--font-serif);
  margin-bottom: 12px;
}

/* ==========================================================================
   BOUTONS FLOTTANTS DESKTOP & BARRE MOBILE UNIFIÉE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  border-radius: 30px;
  padding: 12px 20px;
}

.mobile-bar {
  display: none;
}

/* ==========================================================================
   ANIMATIONS DOUCES AU DÉFILEMENT (Scroll Reveal)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablette & Mobile)
   ========================================================================== */
@media (max-width: 1220px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header {
    min-height: 86px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--taupe);
    color: #fff;
    border: 1px solid var(--taupe);
    padding: 9px 16px;
    min-height: 42px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
  }
  .header-actions {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 18px 5% 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open {
    display: flex;
  }
  .nav > a,
  .nav-dropdown-toggle {
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
    background: var(--cream);
    padding: 6px 12px;
    display: flex;
  }
  .mobile-nav-contact {
    display: flex;
    margin-top: 16px;
    width: 100%;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .product-grid,
  .testimonials-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-layout,
  .maintenance-grid,
  .about-intro,
  .presence,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .collection-visual {
    position: static;
  }
  .presence-image {
    min-height: 280px;
  }
  .hero-box,
  .catalog-hero-copy {
    width: 78%;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 86px;
  }
  .header {
    min-height: 78px;
  }
  .nav {
    top: 78px;
  }
  .emblem {
    width: 44px;
    height: 44px;
  }
  .wordmark {
    font-size: 21px;
  }
  .brand-tagline {
    font-size: 11px;
  }
  .hero,
  .catalog-hero {
    min-height: auto;
    padding-top: 230px;
    background-position: 68% top;
    background-size: auto 340px;
    background-color: var(--cream);
  }
  .hero-box,
  .catalog-hero-copy {
    width: 100%;
    padding: 28px 6%;
  }
  .quick-grid,
  .cards,
  .pillars-grid,
  .about-values,
  .steps-grid,
  .testimonials-grid,
  .agency-details,
  .form-row-2,
  .viewer-grid {
    grid-template-columns: 1fr;
  }
  .quick a,
  .quick a:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-head,
  .contact-layout,
  .about-end,
  .footer-bottom {
    display: block;
  }
  .section-head p,
  .contact .button,
  .about-end button,
  .footer-bottom > div {
    margin-top: 18px;
  }
  .site-footer {
    padding-bottom: 95px;
  }
  /* Masquer le bouton WhatsApp flottant isolé et afficher la barre mobile unifiée */
  .whatsapp-float {
    display: none;
  }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 4%;
    background: rgba(250, 248, 244, 0.98);
    border-top: 1px solid var(--line-strong);
    z-index: 28;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  }
  .mobile-bar .button,
  .mobile-bar .whatsapp-action {
    padding: 11px 12px;
    font-size: 12.5px;
    width: 100%;
    gap: 8px;
  }
  dialog {
    padding: 24px 20px;
  }
  .viewer-copy {
    padding: 24px 20px;
  }
  .viewer-photo img {
    max-height: 40vh;
  }
}

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