@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Gelasio:ital,wght@0,400;0,600;1,400&family=Homemade+Apple&display=swap');

/* =====================================================
   DESIGN SYSTEM — Partsaime Illustrations
   ===================================================== */
:root {
  --olive:         #A3A064;
  --vert-fonce:    #4F6A2B;
  --terracotta:    #CD8A5A;
  --bleu:          #9CC2DC;
  --creme:         #F0DEC1;
  --orange-pastel: #FDBF5F;
  --orange-brule:  #C4720F;
  --brique:        #A3302A;
  --blanc:         #FBF6EE;
  --anthracite:    #3A3A3A;
  --texte:         #3B2F27;

  --font-titre:    "Bebas Neue","Oswald","Arial Narrow",sans-serif;
  --font-texte:    Gelasio,Georgia,"Times New Roman",serif;
  --font-signature:"Homemade Apple","Segoe Script",cursive;
}

*,*::before,*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1rem;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brique); outline-offset: 3px; }

/* =====================================================
   LAYOUT
   ===================================================== */
.padding-global {
  padding-left: max(16px, 5%);
  padding-right: max(16px, 5%);
}
.container-large { max-width: 80rem; margin: 0 auto; }
.padding-section-large { padding-block: clamp(4rem,9vw,7rem); }
.padding-section-medium { padding-block: clamp(3rem,7vw,5rem); }

/* =====================================================
   TYPOGRAPHIE
   ===================================================== */
.heading-style-h1,
.heading-style-h2,
.heading-style-h3 {
  font-family: var(--font-titre);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  text-wrap: balance;
}
.heading-style-h1 { font-size: clamp(3.25rem,8vw,6.5rem); }
.heading-style-h2 { font-size: clamp(2.4rem,5vw,3.75rem); }
.heading-style-h3 { font-size: 1.75rem; }
.text-size-large { font-size: clamp(1.05rem,1.6vw,1.2rem); }
.text-size-small { font-size: .92rem; }
.text-style-signature { font-family: var(--font-signature); }
.text-align-center { text-align: center; }
.max-width-medium { max-width: 36rem; }
.title-underline {
  text-decoration: underline;
  text-underline-offset: .15em;
  text-decoration-thickness: 2px;
}

/* =====================================================
   BOUTONS
   ===================================================== */
.button-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  letter-spacing: .06em;
  text-decoration: none;
  padding: .75rem 1.75rem;
  border-radius: 2rem;
  background: var(--brique);
  color: var(--blanc);
  border: 1.5px solid var(--brique);
  transition: transform .3s, background .3s, border-color .3s;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); background: var(--orange-brule); border-color: var(--orange-brule); }
.button.is-secondary { background: transparent; color: var(--vert-fonce); border-color: var(--vert-fonce); }
.button.is-secondary:hover { background: var(--vert-fonce); color: var(--blanc); }
.button.is-light { background: var(--blanc); color: var(--brique); border-color: var(--blanc); }
.button.is-light:hover { background: var(--creme); border-color: var(--creme); }

/* =====================================================
   CODES GRAPHIQUES
   ===================================================== */
.brush {
  position: relative;
  display: inline-block;
  padding: .3em .6em .15em;
  color: var(--orange-brule);
  isolation: isolate;
}
.brush::before {
  content: "";
  position: absolute;
  inset: -8% -10%;
  z-index: -1;
  background: var(--orange-pastel);
  clip-path: polygon(2% 30%,8% 8%,30% 12%,55% 4%,80% 10%,99% 2%,92% 30%,100% 48%,93% 70%,98% 92%,70% 88%,40% 96%,15% 90%,4% 98%,6% 70%,0 52%);
}

/* Passe-partout anthracite */
.frame {
  background: var(--anthracite);
  padding: clamp(.6rem,1.5vw,1rem);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Filet avec points */
.filet {
  position: relative;
  height: 1px;
  background: currentColor;
  opacity: .7;
  margin: 1.25rem 0;
  max-width: 12rem;
}
.filet::before,
.filet::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px; height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: inherit;
}
.filet::before { left: -3px; }
.filet::after  { right: -3px; }

/* Révélation au scroll */
.reveal { transition: opacity 1s ease, transform 1s ease; }
.reveal.is-pending { opacity: 0; transform: translateY(30px); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--creme);
  border-bottom: 1px solid rgba(79,106,43,.15);
}
.navbar_component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.navbar_logo {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  letter-spacing: .06em;
  color: var(--vert-fonce);
  text-decoration: none;
  line-height: 1;
}
.navbar_logo span {
  color: var(--brique);
  font-size: .9rem;
  display: block;
  letter-spacing: .14em;
  line-height: 1.2;
}
.navbar_menu {
  display: flex;
  gap: 2rem;
  font-family: var(--font-titre);
  font-size: 1.25rem;
  letter-spacing: .06em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar_link { text-decoration: none; color: var(--vert-fonce); transition: color .2s; }
.navbar_link:hover, .navbar_link.is-active { color: var(--brique); }

/* Checkbox burger — CSS only */
.navbar_toggle { position: absolute; opacity: 0; pointer-events: none; }
.navbar_button {
  display: none;
  flex-direction: column;
  padding: .5rem;
  cursor: pointer;
  color: var(--vert-fonce);
  background: none;
  border: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.navbar_button span {
  display: block;
  width: 26px; height: 2px;
  background: currentColor;
  margin: 6px 0;
  transition: transform .3s, opacity .3s;
}
.navbar_toggle:checked + .navbar_button span:nth-child(1) { transform: translateY(14px) rotate(45deg); }
.navbar_toggle:checked + .navbar_button span:nth-child(2) { opacity: 0; }
.navbar_toggle:checked + .navbar_button span:nth-child(3) { transform: translateY(-14px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.section_hero { overflow: hidden; }
.hero_component {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem,5vw,4rem);
  align-items: center;
  padding-block: clamp(3rem,7vw,6rem);
}
.hero_content { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.hero_content .heading-style-h1 { color: var(--vert-fonce); }
.hero_eyebrow { color: var(--orange-brule); font-size: 1.3rem; font-family: var(--font-signature); }
.hero_image-wrap { position: relative; max-width: 30rem; width: 100%; margin-left: auto; }
.hero_image {
  box-shadow: 0 30px 60px -25px rgba(58,58,58,.45);
  animation: reveal-anim 2.2s cubic-bezier(.2,.7,.2,1) both;
}
.hero_image img { width: 100%; display: block; object-fit: cover; aspect-ratio: 3/4; }
.hero_placeholder {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-style: italic;
  font-size: .9rem;
}
.hero_leaf {
  position: absolute;
  left: -1.5rem;
  bottom: -1.5rem;
  width: clamp(5.5rem,12vw,8.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 5px solid var(--creme);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  object-fit: cover;
  display: block;
}
@keyframes reveal-anim {
  from { clip-path: circle(8% at 50% 50%); filter: blur(10px); }
  to   { clip-path: circle(75% at 50% 50%); filter: blur(0); }
}
@keyframes float {
  0%,100% { transform: rotate(-8deg); }
  50%     { transform: rotate(-3deg) translateY(-10px); }
}

/* =====================================================
   HISTOIRE (Bio)
   ===================================================== */
.section_histoire { background: var(--terracotta); color: var(--blanc); }
.histoire_component {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem,6vw,5rem);
  align-items: center;
}
.histoire_photo {
  border-radius: 50% 50% 0 0;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 24rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.5);
  font-style: italic;
  font-size: .9rem;
  text-align: center;
}
.histoire_photo img { width: 100%; height: 100%; object-fit: cover; }
.histoire_content { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.histoire_content .heading-style-h2 { color: var(--brique); margin-bottom: .5rem; }
.histoire_quote {
  font-style: italic;
  border-left: 2px solid var(--brique);
  padding-left: 1.25rem;
  margin-top: .5rem;
}

/* =====================================================
   PRATIQUE
   ===================================================== */
.section_pratique { background: var(--creme); }
.pratique_grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.pratique_card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.pratique_img {
  width: 11rem; height: 11rem;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--blanc);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: rgba(255,255,255,.5);
  font-style: italic;
  font-size: .8rem;
}
.pratique_img img { width: 100%; height: 100%; object-fit: cover; }
.pratique_card .heading-style-h3 { color: var(--brique); }
.pratique_card p { max-width: 20rem; }

/* =====================================================
   DÉFILÉ D'AQUARELLES
   ===================================================== */
.section_defile { background: var(--olive); color: var(--blanc); overflow: hidden; }
.defile_track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  margin-top: 2.5rem;
  animation: marquee 55s linear infinite;
}
.defile_track:hover { animation-play-state: paused; }
.defile_item {
  height: clamp(12rem,22vw,18rem);
  flex: none;
  background: rgba(255,255,255,.12);
}
.defile_item img { height: 100%; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================
   BOUTIQUE
   ===================================================== */
.section_boutique { background: var(--blanc); }
.boutique_header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.boutique_header .heading-style-h2 { color: var(--vert-fonce); }
.boutique_header .filet { color: var(--vert-fonce); }
.boutique_grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2.5vw,2rem); }
.boutique_card { text-decoration: none; min-width: 0; display: block; }
.boutique_visual { position: relative; }
.boutique_visual .frame { aspect-ratio: 3/4; transition: transform .4s; overflow: hidden; }
.boutique_visual .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.boutique_card:hover .frame { transform: translateY(-6px); }
.boutique_placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3);
  font-style: italic; font-size: .8rem;
}
.boutique_badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: var(--brique);
  color: var(--blanc);
  font-family: var(--font-titre);
  padding: .15rem .6rem;
  letter-spacing: .06em;
  font-size: .95rem;
}
.boutique_meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem .75rem;
  margin-top: 1rem;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--vert-fonce);
}
.boutique_format {
  display: block;
  font-family: var(--font-texte);
  font-size: .85rem;
  letter-spacing: 0;
  color: var(--texte);
  opacity: .75;
}
.boutique_price { color: var(--brique); font-variant-numeric: tabular-nums; }

/* =====================================================
   SUR COMMANDE
   ===================================================== */
.section_commande { background: var(--bleu); }
.commande_component {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem,6vw,5rem);
  align-items: center;
}
.commande_visual { max-width: 22rem; width: 100%; }
.commande_visual .frame { aspect-ratio: 3/4; overflow: hidden; }
.commande_visual .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.commande_placeholder {
  color: rgba(255,255,255,.3);
  font-style: italic; font-size: .85rem;
}
.commande_content { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.commande_content .heading-style-h2 { color: var(--blanc); }
.commande_list { display: flex; gap: .75rem; flex-wrap: wrap; }
.commande_pill {
  background: var(--blanc);
  color: var(--vert-fonce);
  padding: .35rem 1rem;
  border-radius: 2rem;
  font-size: .95rem;
}

/* =====================================================
   FOOTER / CONTACT
   ===================================================== */
.footer { background: var(--olive); color: var(--blanc); }
.footer_component {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem,6vw,4rem);
  align-items: center;
}
.footer_contact {
  border-left: 1px solid var(--vert-fonce);
  padding-left: 1.5rem;
  display: grid;
  gap: .75rem;
  margin-top: 2rem;
}
.footer_contact span { color: var(--vert-fonce); }
.footer_contact a { color: var(--blanc); text-decoration: none; }
.footer_contact a:hover { text-decoration: underline; }
.footer_artwork {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3);
  font-style: italic; font-size: .85rem;
  aspect-ratio: 4/3;
  background: rgba(0,0,0,.12);
}
.footer_artwork img { width: 100%; height: 100%; object-fit: cover; }
.footer_signature {
  font-size: clamp(1.6rem,3vw,2.2rem);
  color: var(--anthracite);
  text-align: right;
  margin-top: 1.25rem;
}
.footer_bottom {
  border-top: 1px solid rgba(251,246,238,.35);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .85rem;
  opacity: .8;
}
.footer_bottom a { color: inherit; text-decoration: none; }
.footer_bottom a:hover { text-decoration: underline; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .hero_component,
  .histoire_component,
  .commande_component,
  .footer_component { grid-template-columns: 1fr; }
  .hero_image-wrap { margin: 0 auto; }
  .histoire_photo, .commande_visual { margin: 0 auto; }
  .boutique_grid { grid-template-columns: repeat(2,1fr); }
  .pratique_grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 767px) {
  .navbar_button { display: flex; padding-right: 0; }
  .navbar_menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--creme);
    padding: .5rem max(16px,5%) 1rem;
    border-bottom: 1px solid rgba(79,106,43,.15);
    box-shadow: 0 12px 24px -16px rgba(58,58,58,.35);
  }
  .navbar_toggle:not(:checked) ~ .navbar_menu { display: none; }
  .navbar_link {
    padding: .85rem 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(79,106,43,.12);
  }
  .navbar_link:last-child { border-bottom: 0; }
  .hero_leaf { left: -.5rem; }
  .button { font-size: 1.2rem; padding: .7rem 1.4rem; }
  .footer_signature { text-align: left; }
}

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