@import url("assets/fonts/fonts.css");

:root {
  --violet: #650291;        /* SON violet de logo : 76,5 % des pixels colorés de sa marque */
  --violet-deep: #4A0169;   /* même teinte, assombrie pour le pied de page */
  --violet-soft: #8E45AE;   /* teinte claire prise dans son propre logo */
  --amber: #A34A16;
  --amber-deep: #85380C;
  --azure: #0B6FA8;
  --azure-soft: #6FB3D8;   /* éclairci : 4,63:1 sur son violet de logo, le précédent tombait à 3,47 */
  --paper: #FDF8F0;
  --paper-warm: #F8F0E3;
  --sand: #EFE2CE;
  --white: #FFFDF9;
  --line: rgba(101, 2, 145, .18);
  --line-strong: rgba(101, 2, 145, .32);
  --shadow: 0 26px 62px rgba(74, 1, 105, .13);
  --shadow-soft: 0 14px 38px rgba(74, 1, 105, .09);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --shell: 1200px;
}

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, .4vw + .94rem, 1.08rem);
  line-height: 1.68;
  color: var(--violet);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.012em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
h3 { font-size: clamp(1.14rem, 1.3vw, 1.3rem); }
p { margin: 0 0 1.05em; }
a { color: var(--azure); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* La signature d'Émilie : la seconde ligne du titre en italique azur.
   Écho de sa toile, et le marqueur qui la distingue de toute autre direction. */
.h-accent { display: block; font-style: italic; font-weight: 400; color: var(--azure); }

.shell { width: min(var(--shell), 100% - 2.6rem); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 400; padding: 10px 16px; color: var(--white); background: var(--violet); border-radius: 999px; }
.skip:focus { top: 16px; }

/* --- rayons : la trame venue du pentagone de sa toile, tenue très basse --- */
.rays { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rays::before {
  content: "";
  position: absolute;
  left: 50%; top: -38%;
  width: 128vmax; height: 128vmax;
  transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(11, 111, 168, .052) 0deg 1.05deg, transparent 1.05deg 7.5deg);
  mask-image: radial-gradient(closest-side, #000 12%, transparent 74%);
}

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 240, .9);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.head { display: flex; align-items: center; gap: 1.6rem; padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--violet); }
.brand img { width: 148px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.45rem; margin-left: auto; }
.nav a:not(.btn) {
  position: relative; font-size: .82rem; letter-spacing: .055em; text-transform: uppercase;
  color: var(--violet); text-decoration: none;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -7px;
  height: 2px; border-radius: 50%; background: var(--amber);
  transition: left .2s ease, right .2s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { left: 0; right: 0; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50% 46% 52% 44%; background: var(--white); color: var(--violet); font-size: 1.2rem; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .72rem 1.55rem;
  font-family: var(--body); font-size: .87rem; font-weight: 600; letter-spacing: .022em;
  color: var(--white); background: var(--amber); border: 0;
  border-radius: 999px 999px 999px 40px;
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--amber-deep); transform: translateY(-1px); }
.btn-ghost {
  min-height: 44px; padding: 0 2px; color: var(--azure); background: none;
  border: 0; border-bottom: 1px solid var(--azure); border-radius: 0;
}
.btn-ghost:hover { background: none; color: var(--violet); border-color: var(--violet); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; margin: 1.5rem 0 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ""; width: 36px; height: 8px; border-top: 2px solid var(--amber); border-radius: 50%; transform: rotate(-3deg); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.45rem 0 0; padding: 0; list-style: none; }
.chips li {
  padding: .45rem 1rem; font-size: .78rem; color: var(--violet);
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 253, 249, .72);
}

/* --- hero --- */
.hero { position: relative; padding: clamp(3rem, 6vw, 5.4rem) 0 clamp(3.4rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy { position: relative; }
.hero-copy .lede { font-size: clamp(1.04rem, .5vw + .96rem, 1.18rem); color: var(--violet-soft); max-width: 34rem; }

/* Le portrait dans une forme spiralée asymétrique, cerclée d'un arc azur :
   l'écho de sa toile sans en reproduire le pentagone. */
.portrait { position: relative; }
.portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: 54% 46% 48% 52% / 40% 44% 56% 60%;
  box-shadow: var(--shadow);
}
.portrait::before {
  content: ""; position: absolute; inset: -4.5% -3.5% -3.5% -4.5%;
  border: 1px solid rgba(11, 111, 168, .42);
  border-radius: 52% 48% 46% 54% / 44% 40% 60% 56%;
  transform: rotate(-5deg);
}
.portrait::after {
  content: ""; position: absolute; inset: -9% -8% -8% -9%;
  border: 1px solid rgba(184, 85, 26, .24);
  border-radius: 50% 50% 44% 56% / 46% 42% 58% 54%;
  transform: rotate(6deg);
}
.portrait figcaption { margin-top: .85rem; font-size: .76rem; color: var(--violet-soft); }

/* --- sections --- */
.section { position: relative; padding: clamp(3rem, 6vw, 5.2rem) 0; }
.section--warm { background: var(--paper-warm); }
.section--violet { background: var(--violet); color: var(--paper); }
.section--violet h2, .section--violet h3 { color: var(--white); }
.section--violet .eyebrow { color: var(--azure-soft); }
.section--violet .eyebrow::before { border-top-color: var(--azure-soft); }
.section--violet .h-accent, .cta-band .h-accent { color: var(--azure-soft); }
.section--violet p { color: rgba(253, 248, 240, .84); }
.section-head { max-width: 44rem; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.section-head:has(> .eyebrow:last-child) { margin-bottom: 1.1rem; }
.section-head > .eyebrow:last-child { margin-bottom: 0; }

.arc { display: block; width: 100%; height: 42px; color: var(--azure); }

.grid { display: grid; gap: 1.35rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }

.card {
  position: relative; padding: clamp(1.4rem, 2vw, 1.9rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 26px 26px 26px 6px;
  box-shadow: var(--shadow-soft);
}
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .95rem; color: var(--violet-soft); margin-bottom: .7rem; }
.card .price { display: block; font-family: var(--display); font-size: 1.22rem; color: var(--amber); margin-bottom: .3rem; }
.card a { font-size: .86rem; font-weight: 600; }

.steps { counter-reset: s; display: grid; gap: 1.2rem; padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; padding-left: 3.3rem; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -.15rem;
  width: 2.35rem; height: 2.35rem; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.05rem; color: var(--amber);
  border: 1px solid rgba(184, 85, 26, .4); border-radius: 50% 46% 52% 44%;
}
.steps strong { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 600; }

.limits { padding: 0; margin: 0; list-style: none; display: grid; gap: .6rem; }
.limits li { padding-left: 1.5rem; position: relative; font-size: .95rem; }
.limits li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border: 1px solid var(--azure); border-radius: 50%; }

details { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
details summary { cursor: pointer; font-family: var(--display); font-size: 1.08rem; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--amber); font-family: var(--body); }
details[open] summary::after { content: "–"; }
details p { margin: .75rem 0 0; font-size: .96rem; color: var(--violet-soft); }

.cta-band { position: relative; overflow: hidden; padding: clamp(2.8rem, 5vw, 4.4rem) 0; background: var(--violet); color: var(--paper); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(253, 248, 240, .84); max-width: 38rem; margin-inline: auto; }
.cta-band .btn { background: var(--amber); }
.cta-band .actions { justify-content: center; }

footer { padding: clamp(2.4rem, 4vw, 3.4rem) 0 2rem; background: var(--violet-deep); color: rgba(253, 248, 240, .78); font-size: .9rem; }
footer a { color: var(--azure-soft); }
footer h3 { color: var(--white); font-size: 1rem; }
.foot-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid ul { padding: 0; margin: 0; list-style: none; display: grid; gap: .45rem; }
.foot-note { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(253, 248, 240, .16); font-size: .82rem; }

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; max-width: 26rem; }
  .nav { position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.3rem 1.8rem; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .24s ease; }
  .nav[data-open="true"] { transform: none; }
  .burger { display: block; margin-left: auto; }
}

@media print {
  header, .rays, .burger { display: none; }
  body { background: #fff; color: #000; }
}
