/* =========================================================
   Bété by Seydi — feuille de style commune
   Esprit : minimaliste. Beaucoup de blanc, photos du même shooting
   (fond rose poudré), typographie Jost fine, petites capitales,
   une seule teinte pastel d'accent.
   ========================================================= */
:root {
  --white: #ffffff;
  --sand: #f8f6f4;        /* fond doux */
  --sand-2: #ebe6e1;      /* filets */
  --ink: #141414;
  --ink-soft: #77716c;
  /* Pastels (le rose poudré reprend le fond des photos) */
  --p-rose: #f3e3df;
  --p-lavande: #ece7f3;
  --p-sauge: #e5ebe3;
  --p-ciel: #e4eaf1;
  --p-sable: #f3eee6;
  --p-peche: #f8ebe2;
  /* Accents */
  --ochre: #b98a80;       /* vieux rose, accent discret */
  --orange: #c4471c;
  --navy: #1e2a45;
  --radius: 0;
  --header-h: 60px;
  --gouttiere: clamp(16px, 3vw, 44px);
  --serif: "Jost", system-ui, sans-serif;
  --sans: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: .74rem; font-weight: 400; text-transform: uppercase; letter-spacing: .12em; line-height: 1.4; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { width: min(1280px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }

.surtitre, .eyebrow {
  display: inline-block; font-size: .68rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 1rem;
}
.titre-section { font-size: .74rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.fond-rose { background: var(--p-rose); }
.fond-lavande { background: var(--p-lavande); }

/* Lien texte avec flèche */
.lien-fleche {
  display: inline-flex; gap: .6rem; align-items: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .25rem;
}
.lien-fleche::after { content: "→"; transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 400 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s; border-radius: 0;
}
.btn:hover, .btn--plein { background: var(--ink); color: var(--white); }
.btn--plein:hover { background: #3a3532; border-color: #3a3532; }
.btn--ghost { background: transparent; }
.btn--small { padding: .55rem 1rem; }
.btn:disabled { opacity: .5; cursor: wait; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled, .header.is-solid { border-color: var(--sand-2); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 2.4rem; padding-inline: var(--gouttiere); }
.header .container.header__inner { padding-inline: 0; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo__img { display: block; width: 96px; height: 40px; background: url("/assets/logo.jpg") 49% 46% / 150% auto no-repeat; mix-blend-mode: multiply; }
.logo__img--lg { width: 140px; height: 58px; }
.nav { display: flex; align-items: center; gap: 2rem; height: 100%; }
.nav a, .nav button, .lien-espace {
  font: 400 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: none; border: 0; padding: .3rem 0; cursor: pointer;
}
.nav__lien, .lien-espace { border-bottom: 1px solid transparent; }
.nav__lien:hover, .lien-espace:hover, .nav__menu:hover > .nav__lien { border-color: var(--ink); }
.nav--simple { margin-left: auto; height: auto; }
.nav__form { margin: 0; }
.lien-espace { margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px 0; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 6px 0; transition: .3s; }

/* Menu « Collection » au survol */
.nav__menu { height: 100%; display: flex; align-items: center; }
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 49;
  display: grid; grid-template-columns: repeat(3, minmax(0, 220px)) 1fr; gap: 2rem;
  padding: 2.2rem var(--gouttiere) 2.6rem; background: var(--white); border-block: 1px solid var(--sand-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__menu:hover .mega, .nav__menu:focus-within .mega, .nav__menu.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col { display: grid; gap: .7rem; align-content: start; }
.mega__titre { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .4rem; }
.mega__col a { font-size: .9rem !important; letter-spacing: .02em !important; text-transform: none !important; padding: 0 !important; }
.mega__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega__apercu { margin: 0; justify-self: end; width: 200px; aspect-ratio: 3 / 4; background: var(--p-rose); overflow: hidden; }
.mega__apercu img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: opacity .2s; }

/* ---------- Accueil ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: calc(100svh - var(--header-h)); min-height: 520px; background: var(--p-rose); }
.hero__image { margin: 0; overflow: hidden; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero__texte {
  position: absolute; left: var(--gouttiere); bottom: clamp(1.5rem, 5vh, 3.5rem);
  background: rgba(255,255,255,.92); padding: 1.6rem 2rem 1.8rem; min-width: min(360px, 100% - 2 * var(--gouttiere));
}
.hero__texte h1 { margin-bottom: 1.2rem; }

/* ---------- Grilles produits ---------- */
.collection { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.section-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem 2rem; padding: 0 var(--gouttiere) 1.6rem; }
.section-tete__note { margin: 0; font-size: .74rem; letter-spacing: .06em; }
.grille-produits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.grille-produits--3 { grid-template-columns: repeat(3, 1fr); }
.product { display: flex; flex-direction: column; }
.product__image { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--p-rose); }
.product__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.product__survol { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.product:hover .product__survol { opacity: 1; }
.product__info { padding: .8rem .9rem 1.6rem; }
.product__info h3 { margin: 0 0 .35rem; }
.product__liens { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.product__liens a, .lien-commande {
  font: 400 .64rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none;
}
.product__liens a:hover, .lien-commande:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Les pièces « Signature » ont été photographiées ailleurs : même traitement pour rester dans le ton */
.collection--signature .product__image img { filter: saturate(.8) contrast(.96) brightness(1.03); }

/* ---------- Bande sur-mesure ---------- */
.bande-surmesure { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(3rem, 7vw, 5rem); background: var(--p-rose); }
.bande-surmesure figure { margin: 0; aspect-ratio: 1; overflow: hidden; }
.bande-surmesure img { width: 100%; height: 100%; object-fit: cover; }
.bande-surmesure__texte { align-self: center; padding: 3rem clamp(1.5rem, 6vw, 6rem); max-width: 560px; }

/* ---------- La maison ---------- */
.maison { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) var(--gouttiere); }
.maison p { font-size: .98rem; }
.maison__ligne { font-size: .7rem !important; letter-spacing: .22em; text-transform: uppercase; color: var(--ink) !important; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3.5rem, 8vw, 5rem) var(--gouttiere); border-top: 1px solid var(--sand-2); }
.contact__liste { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.contact__liste li { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--sand-2); font-size: .9rem; }
.contact__liste span { width: 7rem; flex-shrink: 0; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding-top: .15rem; }
.form { display: grid; gap: 1.2rem; align-content: start; }
.form label { display: grid; gap: .3rem; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.form input, .form select, .form textarea {
  font: 400 .95rem var(--sans); letter-spacing: 0; text-transform: none; padding: .5rem 0; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--sand-2); background: transparent; border-radius: 0;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 2fr; gap: 1.2rem; }
.form__note { font-size: .78rem; margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: 2.4rem var(--gouttiere); border-top: 1px solid var(--sand-2); }
.footer__liens { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.footer__liens a, .footer__copy { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); margin: 0; }
.footer__liens a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grille-produits { grid-template-columns: repeat(2, 1fr); }
  .grille-produits--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header__inner { gap: 1rem; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: auto; flex-direction: column; align-items: flex-start;
    gap: 1.4rem; padding: 2rem var(--gouttiere); background: var(--white); overflow-y: auto;
    transform: translateX(-100%); transition: transform .3s ease;
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: .8rem; }
  .nav--simple { position: static; flex-direction: row; transform: none; padding: 0; background: none; gap: 1.2rem; overflow: visible; }
  .nav__menu { height: auto; flex-direction: column; align-items: flex-start; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; gap: 1.2rem; padding: 1.2rem 0 .4rem 1rem; border: 0; }
  .nav__menu.is-open .mega { display: grid; }
  .nav__menu:hover .mega, .nav__menu:focus-within .mega { display: none; }
  .nav__menu.is-open:hover .mega, .nav__menu.is-open:focus-within .mega { display: grid; }
  .mega__apercu { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero__image--b { display: none; }
  .bande-surmesure, .contact { grid-template-columns: 1fr; }
  .grille-produits--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
  .product__info { padding: .6rem .6rem 1.2rem; }
  .product__liens { flex-direction: column; }
}

/* Contenu réglé dans Bété Atelier → Site */
.annonce { margin: 0; padding: .55rem var(--gouttiere, 1rem); background: var(--ink); color: var(--white, #fff); text-align: center;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.product__prix { margin: 0 0 .35rem; font-size: .8rem; letter-spacing: .04em; }

/* ---------- Écran d'accueil (splash) ---------- */
html.splash-ouvert { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; padding-bottom: clamp(2.5rem, 9vh, 5rem); background: #111; color: var(--white);
  transition: opacity .6s ease, visibility .6s; }
.splash--fin { opacity: 0; visibility: hidden; }
.splash__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 3%; transform-origin: center top;
  animation: splash-zoom 14s ease-out both; }
@keyframes splash-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.splash__voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,.7) 100%); }
.splash__contenu { position: relative; text-align: center; padding: 0 var(--gouttiere); max-width: 720px;
  animation: splash-entree 1s .2s ease-out both; }
@keyframes splash-entree { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.splash .surtitre { color: rgba(255,255,255,.85); }
.splash__titre { color: var(--white); font-size: clamp(2.1rem, 6vw, 4.2rem); font-weight: 300; line-height: 1.08; margin: 0 0 1rem; }
.splash__texte { color: rgba(255,255,255,.88); font-size: clamp(.95rem, 2vw, 1.1rem); margin: 0 auto 2rem; max-width: 520px; }
.splash__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.btn--clair { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--clair:hover { background: var(--p-rose); border-color: var(--p-rose); color: var(--ink); }
.btn--contour { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn--contour:hover { background: rgba(255,255,255,.12); color: var(--white); }
.splash__fermer { position: absolute; top: 18px; right: var(--gouttiere); background: none; border: 0; color: var(--white);
  font: 400 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: .5rem; }
@media (prefers-reduced-motion: reduce) { .splash__fond, .splash__contenu { animation: none; } }

/* ---------- Appels à commander ---------- */
.cta-entete { margin-left: .4rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.product__cta { color: var(--ink) !important; font-weight: 500 !important; border-bottom: 1px solid var(--ink); }
.bande-cta { text-align: center; padding: clamp(3rem, 8vw, 5.5rem) var(--gouttiere); background: var(--p-rose); }
.bande-cta h2 { max-width: 640px; margin: 0 auto 1.8rem; }
.bande-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.cta-mobile { display: none; }
@media (max-width: 860px) {
  .cta-entete { display: none; }
  .cta-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto; gap: .5rem;
    padding: .6rem var(--gouttiere) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--sand-2); }
  .cta-mobile .btn { padding: .85rem 1rem; }
  body:has(.cta-mobile) .footer { padding-bottom: 5rem; }
}

/* Rubriques Homme / Femme */
.rubrique { padding: clamp(3rem, 7vw, 5rem) var(--gouttiere) 0; text-align: center; border-top: 1px solid var(--sand-2); margin-top: clamp(2rem, 5vw, 3.5rem); }
.rubrique h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; margin: 0; letter-spacing: .02em; }
.rubrique .surtitre { margin-bottom: .4rem; }
.rubrique + .collection { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

/* Actualités */
.actus { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.actus--accueil { padding: 0 var(--gouttiere); }
.actu { display: grid; gap: .4rem; text-decoration: none; color: inherit; }
.actu img, .actu__vide { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--p-rose); }
.actu__vide { display: grid; place-items: center; font-size: 2rem; color: var(--ink-soft); }
.actu__date { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.actu strong { font-weight: 400; font-size: 1.15rem; }
.actu__chapo { font-size: .88rem; color: var(--ink-soft); }
.actu:hover strong { text-decoration: underline; text-underline-offset: 4px; }
a.section-tete__note { color: var(--ink); }
.article { max-width: 760px; background: var(--white); padding: clamp(1.4rem, 4vw, 2.8rem); }
.article h1 { margin: .3rem 0 1rem; }
.article__chapo { font-size: 1.1rem; color: var(--ink); }
.article__photo { margin: 1.6rem 0; }
.article__photo img { width: 100%; height: auto; display: block; }
.article__texte { margin-bottom: 1.6rem; }
.article .btn { margin: 0 .6rem .6rem 0; }
