/* =========================================================================
   Secret de Peau — feuille de style
   Palette tirée du compte @secretdepeau : teal/pétrole, crème, corail.
   Site statique, sans framework. Mobile-first.
   ========================================================================= */

:root {
  /* Couleurs de marque */
  --cream:      #F8F3EA;   /* fond de page, crème chaud */
  --cream-2:    #FDFBF6;   /* cartes, zones claires */
  --ink:        #16323A;   /* texte principal, teal très sombre */
  --ink-soft:   #46585E;   /* texte secondaire */
  --teal:       #15697A;   /* couleur signature */
  --teal-700:   #0E4F5C;
  --teal-900:   #0A3A44;
  --coral:      #D65A44;   /* CTA — doit sauter aux yeux */
  --coral-600:  #BF4832;
  --blush:      #F3DED7;   /* accent doux */
  --sage:       #D4E0D9;   /* accent végétal doux */
  --line:       rgba(16, 50, 58, .12);
  --shadow-sm:  0 1px 2px rgba(10, 58, 68, .06), 0 2px 8px rgba(10, 58, 68, .05);
  --shadow-md:  0 6px 24px rgba(10, 58, 68, .10);
  --shadow-lg:  0 18px 50px rgba(10, 58, 68, .16);

  /* Typo */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius:   16px;
  --radius-lg: 26px;
  --maxw:     1120px;
  --gutter:   clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--teal-700); text-decoration-color: rgba(21, 105, 122, .35); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 .4em; }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow    { max-width: 760px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tint { background: var(--cream-2); }
.section--teal { background: var(--teal-900); color: #EAF2F3; }
.section--teal h1, .section--teal h2, .section--teal h3 { color: #fff; }
.section--teal a { color: #CFE6EA; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--cta {
  background: var(--coral); color: #fff;
  box-shadow: 0 8px 22px rgba(214, 90, 68, .36);
}
.btn--cta:hover { background: var(--coral-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214, 90, 68, .44); }
.btn--lg { font-size: 1.12rem; padding: 1.15rem 2.1rem; }
.btn--ghost { background: transparent; color: var(--teal-900); border-color: rgba(16, 50, 58, .22); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-900); background: rgba(21, 105, 122, .06); }
.btn--on-teal { background: var(--coral); color: #fff; }
.btn--on-teal:hover { background: var(--coral-600); color: #fff; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 243, 234, .86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.2rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; }
.brand__name small { display: block; font-family: var(--sans); font-weight: 600; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-family: var(--sans); font-weight: 600; font-size: .96rem; color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.header-cta { margin-left: .4rem; }
.header-cta--mobile { display: none; }  /* visible seulement dans le menu déroulant mobile */

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 0 0 1.1rem; }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__trust { margin-top: 1.7rem; font-size: .95rem; color: var(--ink-soft); display: flex; align-items: center; gap: .6rem; }
.hero__trust strong { color: var(--ink); }

.hero__card {
  position: relative; background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md);
}
/* Portrait : panneau de marque autonome (remplaçable par une vraie photo).
   Pour une photo : poser /assets/laurent.jpg et ajouter
   background-image: url('/assets/laurent.jpg'); background-size: cover; */
.hero__portrait {
  width: 100%; aspect-ratio: 4/5; border-radius: 18px;
  background: radial-gradient(120% 80% at 70% 15%, #2E7E8C 0%, #15697A 42%, #0A3A44 100%);
  background-size: cover; background-position: center;
  display: grid; place-items: center; text-align: center; padding: 1.5rem; overflow: hidden;
  position: relative;
}
.hero__portrait::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 85%, rgba(255,255,255,.14), transparent 45%);
}
.hero__portrait .emblem {
  position: relative; z-index: 1; color: #F8F3EA;
}
.hero__portrait .emblem svg { width: 56px; height: 56px; margin-bottom: .8rem; }
.hero__portrait .emblem b { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; display: block; line-height: 1.1; }
.hero__portrait .emblem span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #BFD6DA; }
.hero__badge {
  position: absolute; bottom: -18px; right: -14px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-md); padding: .7rem 1rem; display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 600;
}
.hero__badge b { font-family: var(--serif); font-size: 1.15rem; color: var(--teal); }

.hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: -1; }

/* ---------- Grilles cartes ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
}
.card__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--sage); color: var(--teal-900);
  display: grid; place-items: center; margin-bottom: 1rem; }
.card__ic svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 .4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Cartes articles */
.post {
  display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease; text-decoration: none; color: inherit;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.post__cover { aspect-ratio: 16/10; display: grid; place-items: center; color: #fff; font-family: var(--serif);
  font-size: 1.05rem; text-align: center; padding: 1.2rem; }
.post__cover--a { background: linear-gradient(135deg, #15697A, #0A3A44); }
.post__cover--b { background: linear-gradient(135deg, #D08A6E, #BF4832); }
.post__cover--c { background: linear-gradient(135deg, #5E8D86, #15697A); }
.post__cover--d { background: linear-gradient(135deg, #C98C97, #8A4F5E); }
.post__cover--e { background: linear-gradient(135deg, #3E7F8C, #0E4F5C); }
.post__cover--f { background: linear-gradient(135deg, #E0725A, #8A2F2E); }
.post__cover--g { background: linear-gradient(135deg, #C9A24B, #15697A); }

/* Bandeau transparence (collaboration commerciale / lien affilié) */
.disclosure {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--sage); border: 1px solid rgba(16,50,58,.12); border-radius: 12px;
  padding: .9rem 1.1rem; font-size: .9rem; color: var(--ink); margin: 0 0 1.8rem;
}
.disclosure svg { width: 20px; height: 20px; flex: none; color: var(--teal-900); margin-top: 2px; }
.disclosure strong { display: block; margin-bottom: .1rem; }

/* Encadré code promo — style « coupon » */
.promo {
  margin: 2.6rem 0; border-radius: 20px; overflow: hidden; text-align: center;
  padding: 2.2rem 1.6rem;
  background: radial-gradient(120% 120% at 80% 0%, #2E7E8C 0%, #15697A 45%, #0A3A44 100%);
  color: #EAF2F3; box-shadow: var(--shadow-md);
}
.promo p { margin: 0; }
.promo__eyebrow {
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  color: #BFD6DA; margin-bottom: .5rem;
}
.promo__headline {
  font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 1.9rem); color: #fff;
  line-height: 1.18; margin-bottom: 1.3rem !important; max-width: 24ch; margin-inline: auto;
}
.promo__headline b { color: #F6C65A; }
.promo__ticket {
  display: inline-flex; align-items: stretch; margin: 0 auto 1.4rem; border-radius: 12px;
  overflow: hidden; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.promo__ticket .lbl {
  display: flex; align-items: center; padding: .7rem .95rem; background: #F8F3EA;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft);
}
.promo__ticket .val {
  padding: .65rem 1.3rem; font-family: var(--serif); font-size: 2rem; font-weight: 600;
  letter-spacing: .14em; color: var(--coral-600);
  border-left: 2px dashed rgba(214,90,68,.45);
}
.promo__note { font-size: .8rem; color: #9FC2C8; margin-top: 1.1rem !important; }
.post__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: rgba(21, 105, 122, .1); padding: .28rem .6rem; border-radius: 999px; }
.post__body h3 { margin: .2rem 0; font-size: 1.18rem; }
.post__body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.post__more { margin-top: auto; padding-top: .7rem; font-weight: 700; font-size: .92rem; color: var(--teal); }

/* ---------- Bandeau À propos ---------- */
.about-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
/* Panneau À propos : autonome, remplaçable par une photo (voir .hero__portrait) */
.about-band__img { aspect-ratio: 4/5; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  background: radial-gradient(120% 90% at 30% 20%, #2E7E8C, #15697A 45%, #0A3A44);
  background-size: cover; background-position: center;
  display: grid; place-items: center; text-align: center; padding: 2rem; overflow: hidden; }
.about-band__img .emblem { color: #F8F3EA; }
.about-band__img .emblem svg { width: 60px; height: 60px; margin-bottom: 1rem; }
.about-band__img .emblem b { font-family: var(--serif); font-size: 1.9rem; display: block; line-height: 1.1; }
.about-band__img .emblem span { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #BFD6DA; }

/* ---------- Bande stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); color: #fff; line-height: 1; }
.stat span { display: block; margin-top: .5rem; font-size: .95rem; color: #BFD6DA; }

/* ---------- Bande CTA finale ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; color: var(--ink-soft); }

/* ---------- Article ---------- */
.article { padding-block: clamp(36px, 6vw, 72px); }
.article__head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: 2.4rem; }
.article__head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: .4rem 0 .7rem; }
.article__meta { color: var(--ink-soft); font-size: .95rem; }
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5rem; }
.prose blockquote { margin: 1.6rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--coral);
  background: var(--blush); border-radius: 0 12px 12px 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.callout {
  margin: 2.2rem 0; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-sm);
}
.callout__txt { flex: 1 1 260px; }
.callout__txt strong { font-family: var(--serif); font-size: 1.2rem; display: block; margin-bottom: .2rem; }
.callout__txt span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Fil d'ariane ---------- */
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--teal); text-decoration: none; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #CBD9DC; padding-block: 56px 32px; }
.site-footer a { color: #CBD9DC; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; font-size: .96rem; }
.footer-brand p { color: #9FB6BB; font-size: .95rem; max-width: 34ch; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8FA7AC; }
.social { display: inline-flex; gap: .7rem; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social a:hover { background: var(--teal); }
.social svg { width: 20px; height: 20px; }

/* ---------- Barre CTA mobile fixe ---------- */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(248, 243, 234, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: -1; max-width: 420px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .about-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 8px 0;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
  .nav .header-cta { margin: 10px var(--gutter); }
  .nav-toggle { display: inline-flex; }
  .header-cta--desktop { display: none; }
  .header-cta--mobile { display: inline-flex; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  .hero__badge { right: 0; }
}
