/* ---------- Variables & reset ---------- */
:root {
  --sauge: #7C8363;
  --sauge-dark: #626a4d;
  --creme: #F4EFE6;
  --terracotta: #C46A4A;
  --terracotta-dark: #a8543a;
  --terracotta-darker: #8a4530;
  --terracotta-light: #E0916F;
  --brun: #3E322B;

  --font-titre: "Cormorant Garamond", serif;
  --font-texte: "Jost", sans-serif;

  --radius-lg: 2.5rem;
  --radius-md: 1.5rem;
  --radius-sm: 0.75rem;

  --ombre: 0 20px 45px -25px rgba(62, 50, 43, 0.35);
  --ombre-douce: 0 12px 30px -18px rgba(62, 50, 43, 0.25);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-texte);
  color: var(--brun);
  background: var(--creme);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  color: var(--brun);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-style: italic; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; font-family: var(--font-titre); font-weight: 600; }

p { margin: 0 0 1em; }

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

ul { margin: 0; padding: 0; list-style: none; }

table { border-collapse: collapse; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brun);
  color: var(--creme);
  padding: 0.8em 1.2em;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--terracotta-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-footer :focus-visible,
.hero-content :focus-visible,
.contact-call :focus-visible {
  outline-color: var(--creme);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  justify-content: center;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-family: var(--font-texte);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta-dark);
  color: var(--creme);
  box-shadow: var(--ombre-douce);
}
.btn-primary:hover { background: var(--terracotta-darker); }

.btn-outline {
  background: transparent;
  border-color: var(--brun);
  color: var(--brun);
}
.btn-outline:hover { background: var(--brun); color: var(--creme); }

.btn-nav-call { display: none; }

.btn-call-big {
  width: 100%;
  font-size: 1.1rem;
  padding: 1.1em 1.6em;
}

.btn-form { width: 100%; margin-top: 0.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62, 50, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 600;
  color: var(--terracotta);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--font-texte);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brun);
  font-weight: 500;
}

.burger {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--brun);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-principale {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 340px);
  height: 100vh;
  background: var(--creme);
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: var(--ombre);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.nav-principale.is-open { transform: translateX(0); }

.nav-principale ul {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.nav-principale a {
  font-size: 1.15rem;
  font-weight: 500;
}
.nav-principale a:hover { color: var(--terracotta-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62,50,43,0.05) 0%, rgba(62,50,43,0.55) 100%);
}

.hero-content {
  position: relative;
  color: var(--creme);
  padding-bottom: 4rem;
  padding-top: 8rem;
}
.hero-content .eyebrow { color: var(--creme); opacity: 0.9; }
.hero-content h1 { color: var(--creme); max-width: 14ch; }
.hero-text {
  max-width: 44ch;
  font-size: 1.1rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.hero-hours {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.15rem;
  margin: 0;
}

.hero-content .btn-outline {
  border-color: var(--creme);
  color: var(--creme);
}
.hero-content .btn-outline:hover {
  background: var(--creme);
  color: var(--brun);
}

.eyebrow {
  font-family: var(--font-texte);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--terracotta-dark);
  font-weight: 500;
  margin-bottom: 0.8em;
}

/* ---------- Bandeau réassurance ---------- */
.bandeau {
  background: var(--sauge-dark);
  color: var(--creme);
  padding: 1.6rem 0;
}
.bandeau-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  justify-content: center;
  text-align: center;
}
.bandeau-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 400;
}
.bandeau-item svg path, .bandeau-item svg circle { stroke: var(--creme) !important; }

/* ---------- Sections communes ---------- */
.section {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.motif-botanique {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.motif-botanique--creations { top: -1rem; right: -1rem; }
.motif-botanique--avis { bottom: -1.5rem; left: -1.5rem; transform: scaleX(-1); opacity: 0.25; }
.motif-botanique--contact { top: -1.5rem; left: -2rem; opacity: 0.35; }
.section > .wrap { position: relative; z-index: 1; }

@media (max-width: 620px) {
  .motif-botanique { width: 70px; height: auto; }
}
.section-intro {
  max-width: 60ch;
  font-size: 1.05rem;
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.grid-split-reverse .split-media { order: -1; }

.split-media .placeholder-img,
.infos-carte .placeholder-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--ombre);
}

.infos-carte iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--ombre);
}
.carte-lien {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.carte-lien:hover { color: var(--brun); }
.placeholder-arch {
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 30% 30% var(--radius-lg) var(--radius-lg);
}

/* ---------- Services / cards ---------- */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 3rem;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  padding-bottom: 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre);
}
.card-media { margin-bottom: 1.2rem; }
.card-media .placeholder-img { width: 100%; height: auto; }
.card h3, .card p { padding-left: 1.6rem; padding-right: 1.6rem; }

/* ---------- Mariages / Deuil ---------- */
.section-mariages { background: var(--creme); }
.section-deuil {
  background: #EFE9DC;
  position: relative;
}
.section-deuil h2 { font-style: italic; }
.section-deuil p { color: #4a3d34; }

/* ---------- Galerie ---------- */
.grid-galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.grid-galerie figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
}
.grid-galerie .placeholder-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- Avis ---------- */
.section-avis { background: var(--sauge-dark); color: var(--creme); }
.section-avis .eyebrow { color: var(--creme); opacity: 0.85; }
.section-avis h2 { color: var(--creme); }

.grid-avis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-top: 3rem;
}
.avis-card {
  background: rgba(244, 239, 230, 0.1);
  border: 1px solid rgba(244, 239, 230, 0.25);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin: 0;
}
.etoiles {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.avis-card p { font-style: italic; font-family: var(--font-titre); font-size: 1.15rem; }
.avis-card cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ---------- Livraison ---------- */
.liste-livraison {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1.6rem;
}
.liste-livraison li {
  background: #fff;
  border: 1px solid rgba(62,50,43,0.12);
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* ---------- Infos pratiques ---------- */
.grid-infos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: start;
}
.note-parking {
  font-size: 0.9rem;
  color: var(--sauge-dark);
}
.table-horaires {
  width: 100%;
  margin: 1rem 0 1.8rem;
  font-size: 0.95rem;
}
.table-horaires tr { border-bottom: 1px solid rgba(62,50,43,0.1); }
.table-horaires th, .table-horaires td {
  text-align: left;
  padding: 0.6em 0.4em;
  font-weight: 400;
}
.table-horaires th { font-weight: 500; }

/* ---------- Contact ---------- */
.section-contact { background: #EFE9DC; }
.contact-grid { align-items: start; }

.form-contact {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--ombre-douce);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.form-row input, .form-row select {
  font-family: var(--font-texte);
  font-size: 1rem;
  padding: 0.75em 1em;
  border: 1.5px solid rgba(62,50,43,0.2);
  border-radius: var(--radius-sm);
  background: var(--creme);
  color: var(--brun);
}
.form-row input:focus, .form-row select:focus {
  border-color: var(--terracotta);
}
.form-message {
  min-height: 1.4em;
  margin: 0.8em 0 0;
  font-size: 0.9rem;
  color: var(--sauge-dark);
  font-weight: 500;
}

.contact-call {
  background: var(--brun);
  color: var(--creme);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  text-align: center;
}
.contact-call h3 { color: var(--creme); }
.contact-call p { opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brun);
  color: var(--creme);
  padding: 3.5rem 0 5.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-bloc a { text-decoration: underline; text-underline-offset: 3px; }
.footer-logo {
  font-size: 1.6rem;
  color: var(--creme);
  margin-bottom: 0.4rem;
}
.footer-bloc h3 {
  font-family: var(--font-texte);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta-light);
  margin-bottom: 0.6em;
}
.footer-bloc p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 0.5em; }
.footer-credit {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.75;
  margin: 2.5rem 0 0;
}

/* ---------- Bandeau démo fixe ---------- */
.bandeau-demo {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--terracotta-dark);
  color: var(--creme);
  text-align: center;
  font-size: 0.78rem;
  padding: 0.5em 1em;
  letter-spacing: 0.02em;
}

body { padding-bottom: 2.6rem; }

/* ---------- Animations reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 620px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .grid-galerie { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 780px) {
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .burger { display: none; }

  .nav-principale {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    transform: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 2rem;
  }
  .nav-principale ul {
    flex-direction: row;
    gap: 1.8rem;
  }
  .nav-principale a { font-size: 0.95rem; }
  .btn-nav-call { display: inline-flex; }

  .grid-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .grid-split-reverse .split-media { order: 0; }

  .grid-services { grid-template-columns: repeat(4, 1fr); }
  .grid-galerie { grid-template-columns: repeat(4, 1fr); }
  .grid-avis { grid-template-columns: repeat(3, 1fr); }
  .grid-infos { grid-template-columns: 1.1fr 1fr; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 1100px) {
  .hero-content { padding-top: 10rem; }
}
