@font-face {
  font-family: 'Fraunces';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('assets/Fraunces-600.woff2') format('woff2');
}

:root {
  --ink: #231A1E;
  --gold: #A87B34;
  --gold-text: #7D5A1E;
  --gold-soft: #E4C98F;
  --cream: #FBF7F5;
  --line: #E8DEDC;
  --muted: #5F5459;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-text); margin: 0 0 1rem;
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand .name { font-family: var(--serif); font-size: 1.45rem; line-height: 1; display: block; }
.brand .ecom { font-size: .62rem; letter-spacing: .5em; color: var(--gold-text); font-weight: 600; display: block; margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none; text-align: center;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { border-color: var(--gold); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #3a2c32; border-color: #3a2c32; }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn.is-off { border-style: dashed; border-color: var(--line); color: var(--muted); cursor: default; }
.btn.is-off:hover { border-color: var(--line); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 5rem; }
.hero::after {
  content: ''; position: absolute; right: -140px; top: -60px; width: 520px; height: 520px;
  border: 10px solid var(--gold); border-radius: 50%; opacity: .16; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); max-width: 17ch; margin-bottom: 1.5rem; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Sections */
section { padding: 4.5rem 0; }
.tint { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: .8rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Brand cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.card {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; background: #fff;
  display: flex; flex-direction: column;
}
.card .icon { width: 54px; height: 54px; margin-bottom: 1.1rem; }
.card h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.tag {
  align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); border: 1px solid var(--gold); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .9rem;
}
.tag.soft { color: var(--muted); border-color: var(--line); }
.card p { color: var(--muted); font-size: 1rem; }
.card .btn { margin-top: auto; }
.card.next { border-style: dashed; background: transparent; justify-content: center; }
.card.next h3 { color: var(--muted); font-size: 1.25rem; }

/* Method */
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.method .n { font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: .7rem; }
.method h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.method p { color: var(--muted); font-size: 1rem; margin: 0; }


/* Product card (home) */
.card.product .thumb { width: 100%; height: auto; border-radius: 10px; margin-bottom: 1.1rem; background: var(--cream); }
.card.product .btn { align-self: flex-start; }

/* Product page */
.product-hero { padding: 4rem 0 4.5rem; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.product-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 1.2rem; }
.product-hero .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.2rem; }
.hero-photo { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.prose { max-width: 42rem; }
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.2rem; }
.moments h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.moments p { margin: 0; }
.faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 1.25rem; margin: 0; padding: 0; }
.face { flex: 1 1 150px; max-width: 205px; margin: 0; text-align: center; }
.face img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.face h3 { font-size: 1.15rem; margin: .8rem 0 .2rem; }
.face p { color: var(--muted); font-size: .92rem; margin: 0; }
.facts { display: grid; grid-template-columns: 11rem 1fr; gap: .7rem 1.5rem; margin: 0 0 1.2rem; max-width: 42rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.about h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.about-text p { max-width: 38rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.panel { border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.panel h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.panel p { color: var(--muted); }
.panel .btn { margin-top: auto; }
.note-small { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0 2.6rem; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* Legal page */
.legal { padding: 3.5rem 0 4.5rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal dl { margin: 0; display: grid; grid-template-columns: 11rem 1fr; gap: .55rem 1.2rem; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.todo { background: #FBF1DC; color: var(--gold-text); font-weight: 600; padding: 0 .35rem; border-radius: 4px; }

@media (max-width: 860px) {
  .cards, .method, .contact, .about, .product-hero-grid, .moments { grid-template-columns: 1fr; }
  .product-hero { padding: 2.5rem 0 3rem; }
  .product-hero-grid { gap: 1.8rem; }
  .about { gap: 1rem; }
  .method { gap: 1.6rem; }
  .hero { padding: 3.5rem 0 3.5rem; }
  .hero::after { width: 340px; height: 340px; right: -130px; top: -70px; border-width: 8px; }
  section { padding: 3.2rem 0; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .brand .name { font-size: 1.25rem; }
  .legal dl, .facts { grid-template-columns: 1fr; gap: .1rem; }
  .facts dt { margin-top: .8rem; }
  .legal dt { margin-top: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.brand-logo { display: block; width: 236px; max-width: 70%; height: auto; margin-bottom: 1.2rem; }

/* Nos produits : fiche Émomio + galerie */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.feature-photo { width: 100%; height: auto; border-radius: 10px; }
.feature-text h3 { font-size: 1.6rem; margin: .6rem 0 .8rem; }
.feature-text p { color: var(--muted); margin-bottom: .8rem; }
.feature-points { margin: 0 0 1.4rem; padding-left: 1.1rem; color: var(--ink); }
.feature-points li { margin-bottom: .25rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.next-line { margin-top: 2rem; padding: 1rem 1.25rem; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 1.25rem; padding: 1rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .gallery figure:last-child { grid-column: 1 / -1; }
  .gallery figure:last-child img { aspect-ratio: 16 / 10; }
}
.situation-note { margin-top: 1rem; }
#situation .feature-photo { border: 1px solid var(--line); border-radius: 14px; }

/* Page Émomio : une housse, une histoire */
.emotions { display: grid; gap: 3.5rem; }
.emotion { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.emotion.reverse .emotion-visuals { order: 2; }
.emotion-visuals { position: relative; padding: 0 0 2.5rem 0; }
.emotion-main { width: 82%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.emotion-pouch { position: absolute; right: 0; bottom: 0; width: 40%; height: auto; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 6px 20px rgba(35, 26, 30, .12); }
.emotion-text h3 { font-size: 1.7rem; margin: .3rem 0 .9rem; }
.emotion-text p { color: var(--muted); margin-bottom: .9rem; }
.emotion-usage { color: var(--ink) !important; }
.situation-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 1.25rem; align-items: stretch; }
.situation-grid img { height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .emotions { gap: 2.75rem; }
  .emotion { grid-template-columns: 1fr; gap: 1.25rem; }
  .emotion.reverse .emotion-visuals { order: 0; }
  .situation-grid { grid-template-columns: 1fr; }
}

/* Contact : adresse visible + copie */
.mail-card { border: 1px solid var(--gold-soft); background: #fff; border-radius: 14px; padding: 1.4rem 1.6rem; margin-bottom: 1.25rem; display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.25rem; align-items: center; }
.mail-label { grid-column: 1 / -1; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.mail-addr { font-family: var(--serif); font-size: clamp(1.1rem, 5vw, 1.6rem); overflow-wrap: break-word; user-select: all; }
.copy-status:empty { display: none; }
.copy-status, .mail-help { grid-column: 1 / -1; }
.copy-status { color: #2F6B3A; font-weight: 600; }
@media (max-width: 640px) { .mail-card { grid-template-columns: 1fr; } .copy-mail { justify-self: start; } }

/* Formulaire « Me prévenir » */
.notify { width: 100%; margin-top: .4rem; }
.notify .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.field-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .7rem; }
.field-row input { flex: 1 1 14rem; min-width: 0; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid #C9BCBA; border-radius: 10px; background: #fff; color: var(--ink); }
.field-row input:focus { outline: 3px solid var(--gold-soft); outline-offset: 1px; border-color: var(--gold); }
.field-row .btn { margin-top: 0; }
.notify .note-small a { color: var(--gold-text); }

/* Formulaire professionnel */
.contact .panel-wide { grid-column: 1 / -1; }
.pro-form { width: 100%; margin-top: .6rem; }
.pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.25rem; }
.pro-grid p { margin: 0 0 .9rem; color: var(--ink); }
.pro-grid .full { grid-column: 1 / -1; }
.pro-grid label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.pro-grid input, .pro-grid select, .pro-grid textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid #C9BCBA; border-radius: 10px; background: #fff; color: var(--ink); box-sizing: border-box; }
.pro-grid textarea { resize: vertical; min-height: 8rem; }
.pro-grid input:focus, .pro-grid select:focus, .pro-grid textarea:focus { outline: 3px solid var(--gold-soft); outline-offset: 1px; border-color: var(--gold); }
.pro-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: #9A3B2E; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.pro-form .note-small { margin: .2rem 0 1rem; }
.pro-form .note-small a { color: var(--gold-text); }
.pro-form .btn { margin-top: 0; }
@media (max-width: 640px) { .pro-grid { grid-template-columns: 1fr; } }

/* Professionnels : carte mise en avant + fenêtre du formulaire */
.panel-pro { border: 2px solid var(--gold); background: #FFFBF3; }
.panel-pro .eyebrow { margin-bottom: .4rem; }
.pro-dialog { width: min(760px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); border: none; border-radius: 16px; padding: 1.5rem 1.6rem; box-shadow: 0 24px 60px rgba(35, 26, 30, .25); color: var(--ink); }
.pro-dialog::backdrop { background: rgba(35, 26, 30, .55); }
.pro-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.pro-dialog-head h3 { font-size: 1.5rem; margin: 0; }
.close-pro { font: inherit; font-size: 1.8rem; line-height: 1; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.close-pro:hover, .close-pro:focus-visible { border-color: var(--gold); }
@media (max-width: 640px) { .pro-dialog { padding: 1.1rem; } }

/* Logo Émomio à la place du mot, dans le texte */
.logo-inline { display: inline-block; height: 1.1em; width: auto; vertical-align: -.2em; margin: 0 .08em; }
.btn-primary .logo-inline, .site-footer .logo-inline { filter: invert(1); }
.eyebrow .logo-inline { height: 1.5em; vertical-align: -.35em; }
