/* STUDIO OUI. — feuille de style commune à toutes les pages */

/* Police Montserrat hébergée sur le site (un seul fichier pour toutes les graisses) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}

:root {
  --creme: #faf6f2;
  --poudre: #f1e3dc;
  --caramel: #c99c7e;
  --caramel-fonce: #a8775a;
  --texte: #3b2f29;
  --texte-doux: #6f5f56;
  --blanc: #ffffff;
  --largeur: 1180px;
  --rayon: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

.conteneur { width: min(var(--largeur), 100% - 32px); margin-inline: auto; }
.insecable { white-space: nowrap; }

.surtitre {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramel-fonce);
  margin-bottom: 1rem;
}

.lien-evitement {
  position: absolute; left: -9999px; top: 0;
  background: var(--texte); color: var(--blanc); padding: 10px 16px; z-index: 100;
}
.lien-evitement:focus { left: 16px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font: inherit; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--caramel); border-radius: var(--rayon);
  background: var(--caramel); color: var(--blanc);
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.bouton:hover { background: var(--caramel-fonce); border-color: var(--caramel-fonce); }
.bouton--contour { background: transparent; color: var(--texte); border-color: var(--texte); }
.bouton--contour:hover { background: var(--texte); color: var(--blanc); border-color: var(--texte); }
.bouton--clair { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.bouton--clair:hover { background: var(--blanc); color: var(--texte); border-color: var(--blanc); }
.bouton svg { width: 18px; height: 18px; flex: none; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 156, 126, 0.25);
}
.entete .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.logo {
  text-decoration: none; line-height: 1.1; text-align: center;
  color: var(--texte);
}
.logo__nom { display: block; font-size: 1.35rem; font-weight: 300; letter-spacing: 0.08em; }
.logo__nom b { font-weight: 700; }
.logo__sous { display: block; font-size: 0.58rem; letter-spacing: 0.32em; color: var(--caramel-fonce); margin-top: 3px; }

.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.logo__nom { white-space: nowrap; }
.nav a {
  text-decoration: none; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--caramel); color: var(--caramel-fonce); }

.menu-bouton {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px;
  cursor: pointer; color: var(--texte);
}
.menu-bouton svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .menu-bouton { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    background: var(--creme);
    border-bottom: 1px solid rgba(201, 156, 126, 0.3);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.ouvert { max-height: 420px; }
  .nav ul { flex-direction: column; gap: 0; padding: 12px 16px 24px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(201, 156, 126, 0.2); }
}

/* ---------- Grande image d'accueil ---------- */
/* Grand écran : texte à droite, sur le ciel, sans cacher la mariée */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  color: var(--blanc);
  overflow: hidden;
}
.hero picture, .hero picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero picture img { object-fit: cover; object-position: 30% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(40, 28, 22, 0.55) 0%, rgba(40, 28, 22, 0.3) 38%, rgba(40, 28, 22, 0) 62%);
}
.hero__contenu { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.hero__texte { width: min(520px, 46%); padding: 48px 0; }
.hero__contenu .surtitre { color: #f3dfd3; }
.hero h1 { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.25); font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.hero p { font-size: 1.02rem; }

/* Tablette et téléphone : photo en haut, texte en dessous */
@media (max-width: 1000px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; color: var(--texte); }
  .hero picture { position: relative; display: block; height: 62vh; min-height: 340px; }
  .hero picture img { object-position: 42% 40%; }
  .hero::after { display: none; }
  .hero__contenu { justify-content: flex-start; }
  .hero__texte { width: 100%; max-width: 640px; padding: 40px 0 56px; }
  .hero__contenu .surtitre { color: var(--caramel-fonce); }
  .hero h1 { text-shadow: none; }
  .hero .bouton--clair { color: var(--texte); border-color: var(--texte); }
  .hero .bouton--clair:hover { background: var(--texte); color: var(--blanc); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--poudre { background: var(--poudre); }
.section--blanc { background: var(--blanc); }
.centre { text-align: center; }
.centre .intro { margin-inline: auto; }
.intro { max-width: 40em; color: var(--texte-doux); }

.deux-colonnes {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
@media (max-width: 800px) { .deux-colonnes { grid-template-columns: 1fr; } }

.cadre-photo { position: relative; }
.cadre-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
.cadre-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--caramel); border-radius: var(--rayon); z-index: -1;
}
@media (max-width: 800px) { .cadre-photo::before { inset: 10px -10px -10px 10px; } }

/* ---------- Atouts ---------- */
.atouts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px; text-align: center;
}
.atout__chiffre { display: block; font-size: 2.2rem; font-weight: 200; color: var(--caramel-fonce); line-height: 1.2; }
.atout__texte { font-size: 0.86rem; letter-spacing: 0.06em; color: var(--texte-doux); }
@media (max-width: 800px) { .atouts { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ---------- Prix ---------- */
.prix { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 48px auto 0; }
.prix__carte {
  background: var(--creme); padding: 44px 28px; text-align: center;
  border: 1px solid rgba(201, 156, 126, 0.35); border-radius: var(--rayon);
}
.prix__montant { display: block; font-size: 3rem; font-weight: 200; line-height: 1; color: var(--texte); margin-bottom: 12px; }
.prix__montant small { font-size: 1.4rem; }
.prix__legende { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--caramel-fonce); }
.prix__detail { margin: 16px auto 0; max-width: 17em; font-size: 0.9rem; line-height: 1.6; color: var(--texte-doux); }
@media (max-width: 560px) { .prix { grid-template-columns: 1fr; } }

/* ---------- Matières, détails, coupes ---------- */
.savoir-faire {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 900px; margin: 8px auto 0;
}
.savoir-faire > div { padding: 6px 24px; }
.savoir-faire > div + div { border-left: 1px solid rgba(201, 156, 126, 0.45); }
.savoir-faire dt {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--caramel-fonce); margin-bottom: 8px;
}
.savoir-faire dd { margin: 0; color: var(--texte-doux); line-height: 1.6; }
@media (max-width: 700px) {
  .savoir-faire { grid-template-columns: 1fr; gap: 18px; }
  .savoir-faire > div + div { border-left: 0; border-top: 1px solid rgba(201, 156, 126, 0.45); padding-top: 22px; }
  .savoir-faire > div { padding-inline: 0; }
}

/* ---------- Silhouettes (aperçu de la collection) ---------- */
.silhouettes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.silhouette { text-decoration: none; display: block; }
.silhouette__image { overflow: hidden; border-radius: var(--rayon); }
.silhouette img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .6s ease; }
.silhouette:hover img { transform: scale(1.04); }
.silhouette h3 { margin: 18px 0 0; text-align: center; font-size: 0.82rem; }
@media (max-width: 900px) { .silhouettes { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Étapes de l'essayage ---------- */
.etapes { list-style: none; padding: 0; margin: 28px 0 36px; counter-reset: etape; }
.etapes li {
  counter-increment: etape; position: relative;
  padding: 0 0 22px 58px;
}
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  font-size: 1.5rem; font-weight: 200; color: var(--caramel-fonce);
}

/* ---------- En-tête des pages intérieures ---------- */
.entete-page { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.entete-page h1 { max-width: 20em; margin-inline: auto; }
.entete-page .intro { margin: 0 auto; }

/* ---------- Raccourcis vers les galeries ---------- */
.ancres {
  position: sticky; top: 76px; z-index: 40;
  background: rgba(250, 246, 242, 0.94); backdrop-filter: blur(8px);
  border-block: 1px solid rgba(201, 156, 126, 0.25);
}
.ancres ul {
  display: flex; justify-content: center; gap: 8px 30px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 14px 16px;
}
.ancres a {
  text-decoration: none; font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--texte-doux);
}
.ancres a:hover { color: var(--caramel-fonce); }
@media (max-width: 700px) {
  .ancres ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 24px; }
  .ancres a { white-space: nowrap; }
}

/* ---------- Galeries ---------- */
.galerie-bloc { scroll-margin-top: 140px; padding-top: 56px; }
.galerie-bloc + .galerie-bloc { margin-top: 24px; border-top: 1px solid rgba(201, 156, 126, 0.25); }
.galerie-bloc__titre { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.galerie-bloc__titre h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; }
.galerie-bloc__titre p { margin: 0; color: var(--texte-doux); font-size: 0.92rem; }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.galerie a { display: block; overflow: hidden; border-radius: var(--rayon); cursor: zoom-in; }
.galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; transition: transform .6s ease; }
.galerie a:hover img { transform: scale(1.04); }
.galerie--5 { grid-template-columns: repeat(5, 1fr); }
.galerie--3 { grid-template-columns: repeat(3, 1fr); }
.galerie figure { margin: 0; }
.galerie figcaption {
  margin-top: 10px; text-align: center;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--texte-doux);
}
.galerie--legendes { row-gap: 28px; }
.note-apercu {
  max-width: 44em; margin: 48px auto 0; text-align: center;
  font-style: italic; font-size: 0.95rem; color: var(--texte-doux);
}
@media (max-width: 900px) { .galerie, .galerie--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .galerie, .galerie--5, .galerie--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Agrandissement des photos ---------- */
.visionneuse {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh;
}
.visionneuse::backdrop { background: rgba(30, 22, 18, 0.9); }
.visionneuse__cadre { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.visionneuse img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--rayon); }
.visionneuse button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
}
.visionneuse button svg { width: 28px; height: 28px; }
.visionneuse__fermer { top: 8px; right: 8px; }
.visionneuse__prec { left: 4px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Page contact ---------- */
/* 3 cartes sur la 1re ligne, 2 cartes plus larges sur la 2e */
.contacts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 8px; }
.contacts > * { grid-column: span 2; }
.contacts > .contact-carte--large { grid-column: span 3; }
.contact-carte__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 6px; }
.contact-carte__liens a {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--caramel-fonce); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.contact-carte__liens a:hover { color: var(--texte); }
.contact-carte {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 36px 20px; background: var(--blanc); text-decoration: none;
  border: 1px solid rgba(201, 156, 126, 0.35); border-radius: var(--rayon);
  transition: border-color .25s, transform .25s;
}
a.contact-carte:hover { border-color: var(--caramel); transform: translateY(-3px); }
.contact-carte svg { width: 30px; height: 30px; color: var(--caramel-fonce); }
.contact-carte h2 { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin: 6px 0 0; }
.contact-carte p { margin: 0; color: var(--texte-doux); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-carte--principal { border-color: var(--caramel); }
@media (max-width: 800px) { .contacts { grid-template-columns: 1fr; } .contacts > *, .contacts > .contact-carte--large { grid-column: auto; } }

/* ---------- Questions fréquentes ---------- */
.faq { max-width: 760px; margin: 40px auto 0; border-top: 1px solid rgba(201, 156, 126, 0.4); }
.faq details { border-bottom: 1px solid rgba(201, 156, 126, 0.4); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 0; font-weight: 500; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 200; color: var(--caramel-fonce); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--caramel-fonce); }
.faq details p { margin: -6px 0 22px; color: var(--texte-doux); max-width: 40em; }

/* ---------- Pages de texte (mentions légales) ---------- */
.texte-legal { max-width: 760px; margin: 0 auto; padding-bottom: clamp(64px, 10vw, 112px); }
.texte-legal h2 { font-size: 1.25rem; margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid rgba(201, 156, 126, 0.3); }
.texte-legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.texte-legal ul { padding-left: 1.2em; }
.texte-legal li { margin-bottom: 0.3em; }
.a-completer { background: #fff1c2; padding: 0 4px; font-weight: 500; }

/* ---------- Bandeau rendez-vous ---------- */
.bandeau-rdv {
  position: relative; overflow: hidden;
  background: var(--caramel); color: var(--blanc); text-align: center;
}
.bandeau-rdv .intro { color: rgba(255, 255, 255, 0.9); }
.bandeau-rdv .boutons { justify-content: center; margin-top: 32px; }
.bandeau-rdv__filigrane {
  position: absolute; right: -40px; bottom: -30px; width: 260px; opacity: 0.35; pointer-events: none;
}
@media (max-width: 700px) { .bandeau-rdv__filigrane { width: 160px; right: -50px; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--texte); color: #e9ddd5; padding: 64px 0 28px; font-size: 0.92rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--caramel); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied h2 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caramel); margin-bottom: 18px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 8px; }
.pied .logo { color: #f5ece6; text-align: left; display: inline-block; margin-bottom: 16px; }
.pied__bas {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(233, 221, 213, 0.18);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.78rem; color: #b9aaa0;
}
@media (max-width: 800px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Bouton WhatsApp flottant (mobile) ---------- */
.whatsapp-flottant {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: var(--caramel); color: var(--blanc);
  box-shadow: 0 6px 20px rgba(59, 47, 41, 0.3);
}
.whatsapp-flottant svg { width: 28px; height: 28px; }
@media (max-width: 800px) { .whatsapp-flottant { display: flex; } }

/* ---------- Apparition douce au défilement ---------- */
.apparait { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apparait { opacity: 1; transform: none; transition: none; }
  .silhouette img { transition: none; }
}
