/* ============================================================
   La Marguerite Fleurs — Sault-en-Provence
   Feuille de style partagée
   ============================================================ */

:root {
  --cream:      #faf7f0;   /* fond principal */
  --cream-warm: #f0ebe1;   /* fond alterné beige */
  --sand:       #e8ddc9;   /* beige rosé / boutons */
  --olive:      #5c6047;   /* vert olive / kaki */
  --olive-dark: #474b38;
  --plum:       #241a20;   /* prune foncé */
  --ink:        #2b2621;   /* texte principal */
  --muted:      #8a8478;   /* texte secondaire / eyebrows */
  --line:       #d9d1c2;   /* filets */
  --white:      #ffffff;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Poppins", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typographie ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.lead { font-size: 1.05rem; color: #5a5449; max-width: 46ch; }

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

/* ---------- Layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
section { padding: 110px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,240,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand .mark { font-family: var(--serif); font-size: 1.4rem; color: var(--olive); }
.brand .name {
  font-family: var(--serif); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink); margin-top: 4px;
}
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 13px; color: var(--ink); padding-bottom: 3px;
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a.active { border-color: var(--olive); }
.nav a.active { color: var(--olive); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--ink); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 13px;
  letter-spacing: .04em; padding: 15px 34px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sand { background: var(--sand); color: var(--plum); }
.btn-sand:hover { background: #dccbb0; }
.btn-plum { background: var(--plum); color: var(--cream); }
.btn-plum:hover { background: #3a2c34; }
.btn-olive { background: var(--olive); color: var(--cream); }
.btn-olive:hover { background: var(--olive-dark); }
.btn-outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  text-align: center; color: var(--cream); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(30,26,22,.48), rgba(36,26,32,.52)),
              url("images/hero-v2.jpg");
  background-size: cover; background-position: center;
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow { color: rgba(250,247,240,.8); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05; margin-bottom: 1.4rem; }
.hero p { max-width: 52ch; margin: 0 auto 2.2rem; color: rgba(250,247,240,.92); }

/* Variante devanture : texte ancré en HAUT (mur beige), enseigne dégagée en bas */
.hero-storefront { align-items: flex-start; min-height: 88vh; }
.hero-storefront::before {
  background: linear-gradient(to bottom,
                rgba(28,24,20,.62) 0%,
                rgba(28,24,20,.42) 22%,
                rgba(28,24,20,.12) 42%,
                rgba(28,24,20,.04) 62%,
                rgba(28,24,20,.10) 100%),
              url("images/hero-v2.jpg");
  background-size: cover; background-position: center 55%;
}
.hero-storefront .wrap { padding-top: 70px; padding-bottom: 0; }
.hero-storefront .eyebrow { color: rgba(250,247,240,.92); }
.hero-storefront h1.visually-small {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.hero-storefront p {
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
  color: rgba(255,253,248,.96);
}

/* Variante : texte ancré EN BAS (passe sous l'enseigne de la vitrine) */
.hero-bottom { align-items: flex-end; }
.hero-bottom::before {
  background: linear-gradient(to bottom,
                rgba(28,24,20,.06) 0%,
                rgba(28,24,20,.04) 45%,
                rgba(28,24,20,.55) 80%,
                rgba(28,24,20,.82) 100%),
              url("images/hero-v2.jpg");
  background-size: cover; background-position: center 30%;
}
.hero-bottom .wrap { padding-top: 0; padding-bottom: 54px; }

/* ---------- Section image + texte (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse .split-img { order: 2; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-body h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.4rem; }
.split-body p { margin-bottom: 1rem; color: #5a5449; }
.dotted { border: 0; border-top: 1px dotted var(--line); margin: 1.8rem 0; }

/* ---------- Fonds alternés ---------- */
.bg-cream-warm { background: var(--cream-warm); }
.bg-olive { background: var(--olive); color: var(--cream); }
.bg-olive .eyebrow { color: rgba(250,247,240,.7); }
.bg-olive p { color: rgba(250,247,240,.88); }
.bg-plum { background: var(--plum); color: var(--cream); text-align: center; }
.bg-plum .eyebrow { color: rgba(250,247,240,.6); }
.bg-plum h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.2rem; }
.bg-plum p { color: rgba(250,247,240,.85); max-width: 56ch; margin: 0 auto 2rem; }

/* ---------- Titres de section centrés ---------- */
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-head p { color: #5a5449; }

/* ---------- Cartes spécialités ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: var(--white); box-shadow: 0 18px 40px rgba(40,35,28,.06);
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 28px 26px 34px; }
.card-body h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.card-body p { color: #6a655b; font-size: .92rem; }

/* Cartes cliquables */
.card-link { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.card-link:hover { transform: translateY(-5px); box-shadow: 0 26px 52px rgba(40,35,28,.16); }
.card-link img { transition: transform .4s ease; }
.card-link:hover img { transform: scale(1.04); }
.card-link .card-body { overflow: hidden; }
.card-more {
  display: inline-block; margin-top: 1.1rem; font-size: .82rem; letter-spacing: .06em;
  color: var(--olive); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.card-link:hover .card-more { border-color: var(--olive); }
/* couper le zoom de l'image dans la carte cliquable */
.card-link { overflow: hidden; }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--olive); }
.stat .lbl { font-size: .82rem; letter-spacing: .06em; color: var(--muted); margin-top: .6rem; text-transform: uppercase; }
.bg-olive .stat .num { color: var(--sand); }
.bg-olive .stat .lbl { color: rgba(250,247,240,.75); }

/* Étapes numérotées (liste verticale) */
.steps { max-width: 760px; margin: 0 auto; }
.step-row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px dotted var(--line); align-items: start; }
.step-row:last-child { border-bottom: 0; }
.step-row .step-n { font-family: var(--serif); font-size: 2.2rem; color: var(--olive); line-height: 1; }
.step-row h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.step-row p { color: #6a655b; font-size: .95rem; }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}

/* Livre d'or */
.guestbook { columns: 2; column-gap: 26px; }
.guest-card {
  background: var(--white); padding: 30px 30px 26px; margin-bottom: 26px;
  box-shadow: 0 14px 34px rgba(40,35,28,.06); break-inside: avoid;
  border-top: 3px solid var(--sand);
}
.guest-card .quote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.guest-card .sign { margin-top: 18px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.guest-card .sign .when { text-transform: none; letter-spacing: 0; color: var(--line); }
@media (max-width: 700px) { .guestbook { columns: 1; } }

/* Labels de confiance dans le footer (Artisan Fleuriste, Interflora) */
.footer-labels { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.footer-labels .label-badge {
  background: #faf7f0; border-radius: 10px; padding: 8px 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.footer-labels img { display: block; height: 42px; width: auto; }
.footer-labels .label-badge.round { border-radius: 50%; padding: 6px; }

/* ---------- Grille boutique ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product {
  background: var(--white); box-shadow: 0 14px 34px rgba(40,35,28,.07);
  text-align: center; display: block; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(40,35,28,.14); }
.product-img { aspect-ratio: 1/1; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 20px 16px 26px; }
.product-body h3 { font-family: var(--serif); font-size: 1.3rem; font-style: italic; margin-bottom: 4px; }
.product-body .price { font-size: .82rem; color: var(--muted); }

/* ---------- Galerie masonry ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery img { width: 100%; margin-bottom: 18px; display: block; break-inside: avoid; }

/* ---------- Piliers / engagements ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { padding: 40px 34px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pillar p { color: #6a655b; font-size: .92rem; }

/* ---------- Formulaire ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
label { font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
input, select, textarea {
  font-family: var(--sans); font-size: 15px; padding: 13px 15px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: rgba(250,247,240,.75); padding: 70px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.site-footer .brand { align-items: flex-start; }
.site-footer .brand .mark, .site-footer .brand .name { color: var(--cream); }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.site-footer a { color: rgba(250,247,240,.75); font-size: .9rem; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(250,247,240,.15); padding-top: 26px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utilitaires ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 26px 40px; border-bottom: 1px solid var(--line);
  }
  .menu-toggle { display: block; }
  .split, .form-grid, .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-img { order: 0; }
  .cards, .shop-grid, .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .gallery { columns: 2; }
  section { padding: 70px 0; }
  .wrap { padding: 0 24px; }
  /* Hero devanture sur mobile : hauteur réduite pour moins étirer l'image */
  .hero-storefront { min-height: 56vh; }
  .hero-storefront::before { background-position: center center; background-size: cover; }
  .hero-storefront .wrap { padding-top: 34px; }
}
@media (max-width: 560px) {
  .gallery { columns: 1; }
}
