/* ── Tokens — palette Conifère & Framboise ─────────── */
:root {
  --conifere:  #2D4C3A;  /* principal */
  --framboise: #FA608D;  /* accent */
  --ardoise:   #2C2E2B;  /* texte */
  --cream:     #F8F4ED;  /* fond */
  --lichen:    #A9B5A0;  /* subtil */

  --ff-title: 'Cormorant Garamond', Georgia, serif;
  --ff-body:  'Inter Tight', system-ui, -apple-system, sans-serif;

  --nav-h: 70px;
  --max-w: 1080px;
  --gap:   clamp(1.5rem, 4vw, 2.5rem);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ardoise);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilities ─────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.btn {
  display: inline-block;
  padding: .85rem 1.9rem;
  border-radius: 2px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  transition: background .2s, color .2s, transform .15s;
}
.btn--primary {
  background: var(--conifere);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--framboise);
  color: var(--conifere);
  transform: translateY(-1px);
}
/* Sur fond foncé (hero + contact) : bouton Framboise, hover crème */
.hero .btn--primary,
.section--contact .btn--primary {
  background: var(--framboise);
  color: var(--conifere);
}
.hero .btn--primary:hover,
.section--contact .btn--primary:hover {
  background: var(--cream);
  color: var(--conifere);
}

/* ── Logo (wordmark É[fleur]F, cadre ouvert) ───────── */
.logo { display: inline-flex; align-items: center; color: var(--conifere); }
.logo__mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: .05em;
  color: currentColor;
  /* cadre ouvert : filets haut + bas seulement */
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  padding: .28em .6em;
}
.logo__flower {
  display: inline-block;
  width: .3em;          /* aspect 462/847 ≈ .545 */
  height: .55em;
  margin: 0 .12em;
  align-self: center;
  background-color: currentColor;
  -webkit-mask: url('../assets/img/flower.png') center / contain no-repeat;
          mask: url('../assets/img/flower.png') center / contain no-repeat;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
}

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(45, 76, 58, .85);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(45, 76, 58, .22);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.nav .logo__mark { font-size: 1.45rem; }

/* Couleur nav : crème en permanence (barre verte translucide, pas de flip) */
.nav .logo { color: var(--cream); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: .02em;
  transition: color .2s;
}
.nav__links a:hover { color: var(--framboise); }

.lang-toggle {
  font-size: .85rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: .08em;
  border: 1px solid var(--cream);
  padding: .28rem .6rem;
  border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.lang-toggle:hover { background: var(--framboise); color: var(--conifere); border-color: var(--framboise); }

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .25s, opacity .25s, background .2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer (default = mobile) ──────────── */
.nav.menu-open { background: var(--conifere); }
.nav__links {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--conifere);
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem;
  transform: translateX(100%);
  transition: transform .3s ease;
  border-top: 1px solid rgba(248, 244, 237, .15);
}
.nav__links.open { transform: translateX(0); }
.nav__links a {
  font-size: 1.25rem;
  font-family: var(--ff-title);
  padding: 1rem 0;
  width: 100%;
  border-bottom: 1px solid rgba(248, 244, 237, .12);
}
.lang-toggle { margin-top: 1.5rem; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 2rem) 3rem;
  background: var(--conifere);
  color: var(--cream);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 720px;
}
.hero__label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--framboise);
}
.hero__title {
  font-family: var(--ff-title);
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--cream);
}
.hero__sub {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 300;
  color: var(--cream);
  max-width: 46ch;
}
.hero__scope {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
}
.hero .btn { margin-top: .5rem; }

/* ── Sections ──────────────────────────────────────── */
.section { padding-block: clamp(3.5rem, 10vw, 7rem); }
.section--alt { background: rgba(169, 181, 160, .16); }

/* ── Sections sombres (fond Conifère, texte clair) — réutilisable ── */
.section--dark,
.section--contact {
  background: var(--conifere);
  color: var(--cream);
}
.section--dark .section__title,
.section--contact .section__title,
.section--dark .prose__lead {
  color: var(--cream);
}
.section--dark .section__num,
.section--contact .section__num {
  color: var(--framboise);
}
.section--dark .pillar__title,
.section--dark .card__title {
  color: var(--cream);
}
.section--dark .section__motto,
.section--contact .section__motto {
  color: var(--cream);
}
.section--dark .card {
  background: transparent;
  border-color: rgba(248, 244, 237, .25);
}

.section__header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section__num {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--framboise);
  flex-shrink: 0;
}
.section__flower {
  display: inline-block;
  width: .85rem;
  height: 1.55rem;
  flex-shrink: 0;
  align-self: center;
  background-color: var(--framboise);
  -webkit-mask: url('../assets/img/flower.png') center / contain no-repeat;
          mask: url('../assets/img/flower.png') center / contain no-repeat;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
}
.section__title {
  font-family: var(--ff-title);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--conifere);
}
.section__motto {
  font-family: var(--ff-title);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--conifere);
  margin-bottom: 1rem;
  max-width: 52ch;
}
.section__intro {
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 300;
  max-width: 52ch;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

/* ── Prose (Expérience) ────────────────────────────── */
.prose { max-width: 60ch; display: flex; flex-direction: column; gap: 1.25rem; }
.prose__lead {
  font-family: var(--ff-title);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--conifere);
}
.prose__text { font-size: 1.05rem; font-weight: 300; }

/* Prose with photo (Expérience) — mobile: stack, desktop: text | photo */
.prose--with-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: none;
  align-items: start;
}
.prose__text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.prose__linkedin {
  display: inline-block;
  margin-top: .5rem;
  font-weight: 500;
  color: var(--conifere);
  border-bottom: 1px solid var(--framboise);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
  align-self: flex-start;
}
.prose__linkedin:hover {
  color: var(--framboise);
}
.prose__media {
  width: 100%;
}
.prose__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--lichen);  /* placeholder pendant que la photo manque */
  border-radius: 2px;
}
@media (min-width: 768px) {
  .prose--with-media {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ── Pillars (Valeurs) ─────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding-top: 1.1rem;
  border-top: 2px solid var(--framboise);
}
.pillar__title {
  font-family: var(--ff-title);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--conifere);
}
.pillar__body { font-size: .98rem; font-weight: 300; }

/* ── Cards (Offre) ─────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.card {
  background: var(--cream);
  border: 1px solid rgba(45, 76, 58, .18);
  border-radius: 6px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: border-color .2s, transform .15s;
}
.card:hover { border-color: var(--framboise); transform: translateY(-2px); }
.card__title {
  font-family: var(--ff-title);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--conifere);
}
.card__body { font-size: .95rem; font-weight: 300; }

/* ── Contact ───────────────────────────────────────── */
/* Base sombre (fond/texte/titre/num) gérée par `.section--dark, .section--contact` plus haut. */
.contact__sub {
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 300;
  max-width: 52ch;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

/* Liens directs sous le bouton (LinkedIn, téléphone, booking) */
.contact__direct {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 2.5rem;
}
.contact__link {
  font-size: 1.05rem;
  color: var(--cream);
  width: fit-content;
  border-bottom: 1px solid rgba(250, 96, 141, .5);
  padding-bottom: .12rem;
  transition: color .2s, border-color .2s;
}
.contact__link:hover { color: var(--framboise); border-color: var(--framboise); }

/* ── Footer ────────────────────────────────────────── */
/* Prolonge le Conifère de la section Contact : pas de bande crème en bas. */
.footer {
  background: var(--conifere);
  color: var(--cream);
  border-top: 1px solid rgba(248, 244, 237, .12);
  padding-block: 2rem;
}
.footer .logo { color: var(--cream); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo--footer .logo__mark { font-size: 1.15rem; }
.footer__copy { font-size: .82rem; font-weight: 300; color: rgba(248, 244, 237, .55); }

/* ── Tablette / desktop (mobile-first → min-width) ─── */
@media (min-width: 760px) {
  .nav__burger { display: none; }

  /* nav links inline (annule le tiroir mobile) */
  .nav__links {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    background: none;
    padding: 0;
    transform: none;
    border-top: none;
  }
  .nav__links a {
    font-size: 1rem;
    font-family: var(--ff-body);
    padding: 0;
    width: auto;
    border-bottom: none;
  }
  .lang-toggle { margin-top: 0; }

  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cards   { grid-template-columns: repeat(2, 1fr); }
}

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