/* Alexe Beauty Design — feuille unique, écrite à la main (generate_site.py ne la touche pas). */

@font-face { font-family: Inter; src: url('/assets/fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/assets/fonts/playfair-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
/* Script du logo (le titre d'accroche et la signature seulement). */
@font-face { font-family: Amsterdam; src: url('/assets/fonts/amsterdam.woff2') format('woff2'); font-display: swap; }

:root {
  --pink: #ed005b;        /* marque : grand texte et accents seulement (4,4:1 sur blanc) */
  --pink-ink: #c4005e;    /* texte rose et boutons (6:1 sur blanc, 5,5:1 sur --blush) */
  --pink-deep: #a3004f;
  --blush: #fff3f8;
  --blush-2: #ffe4ef;
  --ink: #20232d;
  --muted: #555863;
  --line: #f1d4e0;
  --gold: #d79b2b;
  --radius-lg: 32px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 34px 60px -30px rgba(163, 0, 79, .5);
  --shadow-soft: 0 20px 44px -26px rgba(32, 35, 45, .4);
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: Amsterdam, "Snell Roundhand", "Segoe Script", cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; scrollbar-color: var(--pink-ink) var(--blush); accent-color: var(--pink-ink); }
body { margin: 0; overflow-x: clip; background: radial-gradient(ellipse 900px 640px at 72% 420px, var(--blush) 0%, rgba(255, 243, 248, 0) 72%) no-repeat, #fff; color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--blush-2); color: var(--ink); }
input, textarea { caret-color: var(--pink-ink); }
:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.05rem); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

.skip-link { position: absolute; z-index: 100; top: 0; left: 1rem; padding: .7rem 1.1rem; border-radius: 0 0 12px 12px; background: var(--ink); color: #fff; text-decoration: none; transform: translateY(-110%); }
.skip-link:focus { transform: none; }

/* — En-tête — */
.topbar { display: none; }
.site-header { position: sticky; z-index: 40; top: 0; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; max-width: var(--container); margin: 0 auto; padding: .65rem var(--gutter); }
.brand img { width: 176px; mix-blend-mode: multiply; }
.nav-toggle { min-height: 44px; padding: .4rem 1.15rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--pink-ink); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.nav-links { display: none; flex-basis: 100%; flex-direction: column; padding: .4rem 0 .9rem; }
.nav-links.open { display: flex; }
.nav-links a { padding: .85rem .2rem; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--pink-ink); }

/* — Accueil de page — */
.hero { display: grid; gap: clamp(3rem, 6vw, 4.5rem); align-items: center; max-width: var(--container); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(4.5rem, 7vw, 6rem); }
.hero h1 { display: grid; gap: .9rem; font-size: clamp(1.45rem, 2.7vw, 2.15rem); line-height: 1.22; }
.hook { color: var(--pink); font-family: var(--font-script); font-size: clamp(3.2rem, 8.4vw, 6rem); font-weight: 400; line-height: 1.02; letter-spacing: 0; }
.hero h1 .sub { max-width: 24ch; }
.lead { max-width: 36rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.proof { max-width: 30rem; margin: 2.2rem 0 0; }
.proof blockquote { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; }
.proof figcaption { margin-top: .4rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.proof figcaption::before { content: '— '; }
.hero-media { position: relative; width: 100%; max-width: 540px; margin: 0 auto; }
.photo-main { width: 82%; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 10px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-small { position: absolute; bottom: -2rem; left: 0; width: 44%; aspect-ratio: 1; object-fit: cover; border: 8px solid #fff; border-radius: 26px; box-shadow: var(--shadow-soft); }

/* — Boutons — */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.5rem; border: 1.5px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .3s var(--ease), background-color .2s, border-color .2s, box-shadow .3s var(--ease); }
.button.primary { background: var(--pink-ink); color: #fff; box-shadow: 0 16px 30px -14px rgba(196, 0, 94, .7); }
.button.primary:hover { background: var(--pink-deep); transform: translateY(-2px); }
.button.secondary { border-color: var(--line); background: #fff; color: var(--pink-ink); }
.button.secondary:hover { border-color: var(--pink-ink); }
.button.light { background: #fff; color: var(--pink-ink); }
.button.light:hover { transform: translateY(-2px); }
.button.outline { border-color: rgba(255, 255, 255, .75); color: #fff; }
.button.outline:hover { background: rgba(255, 255, 255, .12); }

/* — Sections — */
.section { max-width: var(--container); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.section-title, .section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head p { margin-top: 1rem; color: var(--muted); }
.center { margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }

.service-grid { display: grid; gap: 2.5rem; }
.service { display: block; text-decoration: none; }
.service img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform .6s var(--ease); }
.service:hover img { transform: translateY(-6px); }
.service h3 { margin-top: 1.3rem; }
.service:hover h3 { color: var(--pink-ink); }
.service p { margin-top: .5rem; color: var(--muted); }
.service .price { color: var(--pink-ink); font-weight: 700; font-variant-numeric: tabular-nums; }

.about { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about { background: var(--blush); box-shadow: 0 0 0 100vmax var(--blush); clip-path: inset(0 -100vmax); }
.about-photo img { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border: 10px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy p { max-width: 34rem; color: var(--muted); }
.about-copy .signature { margin-top: 1.2rem; color: var(--pink-ink); font-family: var(--font-script); font-size: 3.6rem; line-height: 1; }

.why-grid, .trio { display: grid; gap: 2.6rem 3.5rem; }
.why-item::before, .trio > div::before { content: ''; display: block; width: 2.5rem; height: 3px; margin-bottom: 1.3rem; border-radius: 3px; background: var(--pink); }
.why-item p, .trio p { margin-top: .7rem; color: var(--muted); }

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-media img { width: 100%; max-height: 680px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.split-copy { max-width: 34rem; }
.split-copy h2 { margin-bottom: 1.2rem; }
.split-copy p { color: var(--muted); }

.quote { max-width: 54rem; text-align: center; }
.quote figure { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.25; }
.quote blockquote::before { content: '“'; display: block; height: 2.6rem; color: var(--pink); font-size: 5rem; line-height: 1; }
.quote figcaption { margin-top: 1rem; color: var(--pink-ink); font-weight: 700; }
.quote figcaption::before { content: '— '; }
.quote > p { max-width: 40rem; margin: 1.6rem auto 0; color: var(--muted); }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.6rem, 1.5vw, 1rem); }
.portfolio-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }

.reviews { background: var(--blush); box-shadow: 0 0 0 100vmax var(--blush); clip-path: inset(0 -100vmax); }
.review-list { columns: 1; column-gap: 1.5rem; }
.review { margin: 0 0 1.5rem; padding: 1.9rem 1.9rem 1.6rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); break-inside: avoid; }
.review blockquote { margin: 0; }
.review figcaption { margin-top: 1rem; color: var(--pink-ink); font-weight: 700; }
.reviews.featured .review-list { max-width: 48rem; margin: 0 auto; columns: 1; }
.reviews.featured blockquote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.5; }

.menu { display: grid; gap: 3rem 4.5rem; }
.menu.cols-1 { max-width: 42rem; margin: 0 auto; }
.menu-cat h3 { color: var(--pink-ink); }
.menu-cat > p { margin-top: .5rem; color: var(--muted); font-size: .97rem; }
.menu-items { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.menu-items li { display: flex; align-items: baseline; padding: .55rem 0; }
.menu-items li::after { content: ''; order: 1; flex: 1; min-width: 1.5rem; margin: 0 .5rem; border-bottom: 2px dotted #e4b9cb; }
.menu-items span { order: 0; max-width: 72%; }
.menu-items b { order: 2; color: var(--pink-ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.offer-grid { display: grid; gap: 1.5rem; }
.offer { padding: clamp(1.7rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--blush); }
.offer h3 { color: var(--pink-ink); }
.offer p { margin-top: .6rem; }

.crosslink a { display: flex; align-items: center; gap: 1.5rem; max-width: 44rem; margin: 0 auto; padding: 1rem; border-radius: var(--radius-lg); background: var(--blush); text-decoration: none; }
.crosslink img { flex: none; width: clamp(96px, 22vw, 150px); aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.crosslink span span { display: block; }
.crosslink .h3 { margin-bottom: .3rem; }
.crosslink .more { margin-top: .5rem; color: var(--pink-ink); font-weight: 700; }
.crosslink a:hover .more { text-decoration: underline; }

.cta-band { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); background: linear-gradient(160deg, var(--pink-ink), var(--pink-deep)); color: #fff; text-align: center; }
.cta-band .flower { width: 64px; margin: 0 auto 1.2rem; filter: brightness(0) invert(1); }
.cta-band h2 { max-width: 22ch; margin: 0 auto; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-band p { max-width: 38rem; margin: 1.2rem auto 0; color: #ffe6f0; }
.cta-band .actions { justify-content: center; }
.cta-band .area { margin-top: 2rem; color: #ffd6e8; font-size: .95rem; }

/* — Me joindre — */
.contact-page { display: grid; gap: clamp(2rem, 4vw, 3.5rem); max-width: var(--container); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3.5rem, 7vw, 6rem); }
.contact-intro h1 { color: var(--pink); font-family: var(--font-script); font-size: clamp(3.2rem, 8vw, 5.4rem); font-weight: 400; line-height: 1.05; }
.form { position: relative; display: grid; gap: 1.15rem 1.2rem; padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: var(--radius-lg); background: var(--blush); }
.form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.field label { display: block; margin-bottom: .4rem; font-size: .95rem; font-weight: 600; }
.field small { color: var(--muted); font-size: .88rem; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .75rem .95rem; border: 1.5px solid #e2c3d1; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink-ink); outline: none; box-shadow: 0 0 0 4px rgba(196, 0, 94, .16); }
.field ::placeholder { color: #6b6e78; }
.form .button { width: 100%; }
.privacy { margin-top: .8rem; color: var(--muted); font-size: .9rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside { align-self: start; }
.contact-aside .portrait { width: 128px; height: 128px; object-fit: cover; object-position: 50% 15%; border: 6px solid #fff; border-radius: 50%; box-shadow: var(--shadow-soft); }
.portrait-note { margin-top: .9rem; color: var(--muted); }
.contact-aside h2 { margin-top: 2rem; font-size: 1.6rem; }
.methods { margin: .8rem 0 0; padding: 0; list-style: none; }
.methods a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--pink-ink); font-weight: 700; text-decoration: none; overflow-wrap: break-word; }
.methods a:hover { color: var(--pink-deep); }
.methods span { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.contact-aside .area { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; }

.message-page { max-width: 40rem; margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) var(--gutter); text-align: center; }
.message-page h1 { margin-bottom: 1.2rem; font-size: clamp(2.3rem, 6vw, 3.4rem); }
.message-page p { color: var(--muted); }
.message-page .actions { justify-content: center; }
.page-404 .brand img { width: 260px; margin: 0 auto 2.5rem; }

/* — Pied de page et barre d'action (téléphone) — */
.footer { padding: 3.5rem var(--gutter) 2.5rem; color: var(--muted); font-size: .95rem; text-align: center; }
.footer img { width: 48px; margin: 0 auto .6rem; }
.footer-name { color: var(--ink); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.footer-links, .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin-top: 1rem; }
.footer a { color: var(--pink-ink); font-weight: 600; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.copyright { margin-top: 1.4rem; font-size: .85rem; }
.actionbar { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 -12px 30px -24px rgba(32, 35, 45, .5); }
.actionbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--pink-ink); font-weight: 700; text-decoration: none; }
.actionbar a.primary { border-color: var(--pink-ink); background: var(--pink-ink); color: #fff; }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

@media (max-width: 759px) {
  .service { display: grid; grid-template-columns: 38% 1fr; gap: 0 1.1rem; align-items: center; }
  .service img { grid-row: span 3; }
  .service h3 { margin-top: 0; font-size: 1.3rem; }
  .service p { margin-top: .3rem; font-size: .97rem; line-height: 1.55; }
  .service-grid { gap: 1.6rem; }
}
@media (max-width: 699px) {
  .reviews:not(.featured) .review-list { display: flex; gap: 1rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; }
  .reviews:not(.featured) .review { flex: 0 0 86%; margin: 0; scroll-snap-align: start; }
  .hero .actions .button { flex: 1 1 100%; }
}
@media (min-width: 700px) {
  .review-list { columns: 2; }
  .form { grid-template-columns: 1fr 1fr; }
  .form h2, .field.wide { grid-column: 1 / -1; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .service:nth-child(2) { margin-top: 3.5rem; }
  .why-grid, .trio.cols-2 { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); padding-bottom: 2rem; }
  .portfolio-grid img:nth-child(even) { transform: translateY(2rem); }
}
@media (min-width: 900px) {
  .about { grid-template-columns: .9fr 1fr; }
  .split { grid-template-columns: 1fr 1.1fr; }
  .split.reverse .split-media { order: 2; }
  .split.reverse .split-copy { justify-self: end; }
  .trio.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .menu.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .topbar { display: flex; justify-content: center; gap: 1.7rem; padding: .5rem 1rem; background: var(--pink-ink); color: #fff; font-size: .875rem; font-weight: 600; }
  .topbar a { color: #fff; text-decoration: none; }
  .topbar a:hover { text-decoration: underline; }
  .topbar .lang { padding-left: 1.7rem; border-left: 1px solid rgba(255, 255, 255, .45); }
  .site-header { position: static; }
  .nav { flex-direction: column; justify-content: center; padding: 1.5rem var(--gutter) .5rem; }
  .brand img { width: 330px; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; flex-direction: row; justify-content: center; gap: 2.4rem; padding: .7rem 0 .4rem; }
  .nav-links a { position: relative; padding: .45rem 0; border: 0; color: #4a4c56; }
  .nav-links a::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 2px; background: var(--pink); transform: scaleX(0); transition: transform .3s var(--ease); }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links .lang { display: none; }
  .hero { grid-template-columns: 1.08fr .92fr; }
  .reviews.n6 .review-list { columns: 3; }
  .contact-page { grid-template-columns: 1.45fr 1fr; }
  .contact-intro { grid-column: 1 / -1; max-width: 46rem; }
  .actionbar { display: none; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .service:hover img, .button:hover { transform: none; }
}
