/* ============================================================
   Nadège Nail - site statique de validation
   Direction: nature élégante, sereine, rassurante
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #fbf7ec;
  --bg-soft: #fffdf5;
  --surface: rgba(255, 253, 245, 0.92);
  --surface-solid: #fffdf5;
  --surface-muted: #f3ecd8;
  --text: #313647;
  --muted: #5f675e;
  --muted-strong: #435663;
  --forest: #31694e;
  --leaf: #658c58;
  --sage: #a3b087;
  --sand: #fefae0;
  --sun: #f0e491;
  --ochre: #e67e22;
  --clay: #b45253;
  --border: rgba(49, 54, 71, 0.14);
  --border-strong: rgba(49, 105, 78, 0.22);
  --shadow: 0 24px 70px rgba(49, 54, 71, 0.1);
  --shadow-soft: 0 16px 40px rgba(49, 54, 71, 0.08);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --maxw: 1160px;
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Prepared for a future explicit toggle. No toggle is shown in V1. */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151a17;
  --bg-soft: #1d251f;
  --surface: rgba(29, 37, 31, 0.9);
  --surface-solid: #1d251f;
  --surface-muted: #263126;
  --text: #f4eddd;
  --muted: #c1cbbd;
  --muted-strong: #d8dfd0;
  --forest: #b8d0a6;
  --leaf: #a9c287;
  --sage: #6f835d;
  --sand: #2a3024;
  --sun: #d7c86d;
  --ochre: #f0a14e;
  --clay: #d1887f;
  --border: rgba(244, 237, 221, 0.15);
  --border-strong: rgba(184, 208, 166, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 228, 145, 0.42), transparent 28rem),
    radial-gradient(circle at 92% 2%, rgba(163, 176, 135, 0.42), transparent 26rem),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 44%, #f7efda 100%);
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--forest);
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: var(--text);
  background: rgba(240, 228, 145, 0.7);
}

:focus-visible {
  outline: 3px solid rgba(230, 126, 34, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-soft);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--maxw));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(251, 247, 236, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 10px 32px rgba(49, 54, 71, 0.08);
  background: rgba(251, 247, 236, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  min-width: 180px;
}

.brand strong {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand span {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  cursor: pointer;
}

.nav-toggle-lines {
  display: grid;
  gap: 4px;
}

.nav-toggle-lines i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.primary-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 650;
  padding: 9px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--forest);
  background: rgba(101, 140, 88, 0.14);
}

.primary-nav .nav-contact {
  color: #fffdf5;
  background: var(--forest);
  box-shadow: 0 12px 26px rgba(49, 105, 78, 0.2);
}

.primary-nav .nav-contact:hover,
.primary-nav .nav-contact[aria-current="page"] {
  color: #fffdf5;
  background: #24553e;
}

.hero {
  position: relative;
  padding: clamp(50px, 8vw, 96px) 0 clamp(44px, 8vw, 86px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% 48%;
  height: 360px;
  border-radius: 999px 0 0 0;
  background: linear-gradient(135deg, rgba(163, 176, 135, 0.26), rgba(254, 250, 224, 0));
  transform: rotate(-7deg);
  pointer-events: none;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.hero-copy,
.page-hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--ochre);
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  max-width: 11ch;
}

.page-hero h1 {
  max-width: 13ch;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.card h2,
.contact-card h2,
.page-note h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted-strong);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(49, 54, 71, 0.05);
  text-decoration: none;
  font-weight: 750;
  line-height: 1.15;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(49, 54, 71, 0.09);
  border-color: rgba(49, 105, 78, 0.36);
}

.btn-primary {
  color: #fffdf5;
  background: linear-gradient(135deg, var(--forest), #477b55);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(49, 105, 78, 0.22);
}

.btn-primary:hover {
  color: #fffdf5;
}

.btn-warm {
  color: #fffdf5;
  background: linear-gradient(135deg, var(--ochre), #bf6421);
  border-color: transparent;
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.9rem;
}

.hero-card,
.image-card,
.quote-card,
.contact-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 253, 245, 0.92), rgba(255, 253, 245, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card {
  padding: clamp(18px, 4vw, 30px);
}

.hero-card::after,
.image-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.14);
  pointer-events: none;
}

.hero-illustration {
  border-radius: 28px;
  background: var(--sand);
  overflow: hidden;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.fact {
  min-height: 110px;
  padding: 14px;
  border: 1px solid rgba(49, 105, 78, 0.16);
  border-radius: 18px;
  background: rgba(254, 250, 224, 0.66);
}

.fact strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.3rem;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.section {
  padding: clamp(48px, 8vw, 92px) 0;
}

.section-tight {
  padding-top: clamp(24px, 5vw, 50px);
}

.section-intro {
  max-width: 760px;
  margin-bottom: clamp(24px, 5vw, 42px);
}

.section-intro.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-intro p,
.muted {
  color: var(--muted-strong);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 253, 245, 0.76);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 34px);
}

.card > p {
  max-width: 58ch;
}

.card-accent {
  border-color: rgba(230, 126, 34, 0.32);
  background: linear-gradient(160deg, rgba(255, 253, 245, 0.94), rgba(254, 250, 224, 0.72));
}

.card h3 a {
  text-decoration: none;
}

.card p:last-child,
.notice p:last-child,
.quote-card p:last-child {
  margin-bottom: 0;
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 16px 16px 16px 6px;
  color: var(--forest);
  background: rgba(163, 176, 135, 0.26);
  font-weight: 800;
}

.tag-list,
.check-list,
.plain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid rgba(49, 105, 78, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted-strong);
  background: rgba(254, 250, 224, 0.64);
  font-size: 0.88rem;
  font-weight: 650;
}

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted-strong);
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 3px rgba(255, 253, 245, 0.8);
}

.plain-list li::before {
  background: var(--ochre);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 72px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  color: #fffdf5;
  background: var(--forest);
  font-weight: 800;
}

.band {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(49, 105, 78, 0.08), rgba(230, 126, 34, 0.08)),
    rgba(255, 253, 245, 0.48);
}

.page-hero {
  padding: clamp(46px, 7vw, 82px) 0 clamp(30px, 5vw, 56px);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
}

.page-hero .lead {
  max-width: 800px;
}

.page-note {
  border: 1px solid rgba(230, 126, 34, 0.22);
  border-radius: var(--radius);
  background: rgba(254, 250, 224, 0.72);
  padding: 20px;
  color: var(--muted-strong);
}

.page-note p {
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
}

.image-card {
  padding: clamp(16px, 3vw, 22px);
}

.image-card img {
  width: 100%;
  border-radius: 24px;
  background: var(--sand);
}

.quote-card {
  padding: clamp(24px, 4vw, 38px);
  color: var(--text);
}

.quote-card blockquote {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.quote-card cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.notice {
  border: 1px solid rgba(180, 82, 83, 0.24);
  border-radius: var(--radius);
  background: rgba(254, 250, 224, 0.76);
  padding: clamp(18px, 3vw, 26px);
}

.notice strong {
  color: var(--clay);
}

.soft-panel {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 18%, rgba(240, 228, 145, 0.34), transparent 18rem),
    linear-gradient(135deg, rgba(49, 105, 78, 0.1), rgba(255, 253, 245, 0.72));
  padding: clamp(24px, 5vw, 44px);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  border-left: 3px solid rgba(49, 105, 78, 0.24);
  padding-left: 20px;
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 253, 245, 0.8);
  box-shadow: 0 12px 24px rgba(49, 54, 71, 0.05);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--text);
  font-weight: 800;
}

.faq-list details[open] summary {
  color: var(--forest);
  border-bottom: 1px solid var(--border);
}

.faq-list details > div {
  padding: 18px 22px 22px;
  color: var(--muted-strong);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 50px);
  align-items: start;
}

.contact-card {
  padding: clamp(22px, 4vw, 34px);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(254, 250, 224, 0.56);
  padding: 14px;
}

.contact-method b {
  display: block;
}

.contact-method span {
  color: var(--muted);
  font-size: 0.92rem;
}

.demo-form {
  display: grid;
  gap: 14px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-weight: 750;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 253, 245, 0.88);
  color: var(--text);
  padding: 13px 14px;
}

.demo-form textarea {
  min-height: 150px;
  resize: vertical;
}

.demo-form button[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin-top: 42px;
}

.legal-content h3 {
  margin-top: 26px;
}

.legal-content p,
.legal-content li {
  color: var(--muted-strong);
}

.legal-content ul {
  padding-left: 1.2rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(49, 105, 78, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 15%, rgba(230, 126, 34, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(49, 105, 78, 0.13), rgba(255, 253, 245, 0.78));
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 5vw, 44px);
}

.cta-panel h2 {
  margin-bottom: 8px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(49, 54, 71, 0.04);
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(150px, 0.5fr));
  gap: 24px;
}

.footer-title {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-title);
  font-size: 1.55rem;
  line-height: 1;
}

.footer-col h2,
.footer-col h3 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a,
.footer-bottom {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.placeholder {
  color: var(--muted-strong);
  font-weight: 650;
}

@media (max-width: 1080px) {
  .primary-nav a {
    font-size: 0.78rem;
    padding-right: 8px;
    padding-left: 8px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.nav-open .site-header {
    background: rgba(251, 247, 236, 0.98);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    justify-content: stretch;
    gap: 6px;
    max-height: calc(100dvh - 96px);
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface-solid);
    box-shadow: var(--shadow);
    padding: 12px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 13px 14px;
    font-size: 0.96rem;
  }

  .hero-grid,
  .split,
  .page-hero-inner,
  .contact-layout,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-card {
    max-width: 620px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--maxw));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.35rem;
  }

  .brand span {
    max-width: 170px;
    font-size: 0.63rem;
  }

  .primary-nav {
    top: 70px;
  }

  .hero-facts,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .button-row,
  .cta-panel .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .step {
    padding-left: 0;
    padding-top: 66px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .card,
  .hero-card,
  .quote-card,
  .notice,
  .cta-panel {
    box-shadow: none;
  }
}
