/* =========================================================
   NABI SERVICES — Direction artistique professionnelle
   Palette inspirée des logos fournis
   ========================================================= */

:root {
  --pink: #f8c7c0;
  --pink-soft: #f3d4c7;
  --peach: #efa18f;
  --peach-light: #e8bda8;
  --rose: #d56f69;
  --brown: #8a3f2a;
  --brown-dark: #5d261b;
  --brown-soft: #9b5b49;
  --cream: #efd1c0;
  --bg: #d9a88f;
  --text: #3b2a25;
  --muted: #7b6961;
  --line: rgba(138, 63, 42, .14);
  --shadow: 0 20px 55px rgba(138, 63, 42, .10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 8%, rgba(255,240,229,.55), transparent 28rem),
    radial-gradient(circle at 8% 60%, rgba(116,54,34,.10), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::selection {
  background: var(--pink);
  color: var(--brown-dark);
}

a { color: inherit; text-decoration: none; }

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

button, input, textarea { font: inherit; }

/* ---------- Décor ---------- */

.decor {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.decor-leaves {
  width: 280px;
  height: 650px;
  opacity: .22;
  background-image: url("feuilles-transparent.png");
}

.decor-leaves-left {
  left: -115px;
  top: 180px;
}

.decor-leaves-right {
  right: -155px;
  top: 930px;
  transform: scaleX(-1);
  opacity: .12;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,225,214,.94);
  border-bottom: 1px solid rgba(138,63,42,.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
}

.brand-mark {
  position: absolute;
  left: -14px;
  width: 90px;
  height: 64px;
  background: url("logo-nabi-icon.png") center / contain no-repeat;
  opacity: .16;
  transform: scale(1.25);
  pointer-events: none;
}

.brand-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-left: 8px;
}

.logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brown);
}

.tagline {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: .65rem .95rem;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 650;
  color: var(--brown-soft);
  transition: .25s ease;
}

.nav-list a:hover {
  color: var(--brown);
  background: var(--pink-soft);
}

.nav-list .nav-contact {
  color: white;
  background: var(--brown);
  padding-inline: 1.2rem;
  box-shadow: 0 8px 20px rgba(138,63,42,.15);
}

.nav-list .nav-contact:hover {
  color: white;
  background: var(--brown-dark);
  transform: translateY(-1px);
}

/* ---------- Common ---------- */

.section {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 105px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--rose);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--peach);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brown);
  line-height: 1.12;
}

h1 em, h2 em {
  color: var(--rose);
  font-style: normal;
}

h2 {
  margin: .65rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.25rem;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 750;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: var(--brown);
  box-shadow: 0 12px 26px rgba(138,63,42,.18);
}

.btn-primary:hover {
  background: var(--brown-dark);
  box-shadow: 0 16px 30px rgba(138,63,42,.23);
}

.btn-secondary {
  color: var(--brown);
  background: rgba(255,248,243,.72);
  border: 1px solid rgba(122,65,45,.18);
}

.btn-secondary:hover {
  background: var(--pink-soft);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 45%, rgba(255,239,226,.58), transparent 26rem),
    linear-gradient(135deg, #e9c0ad 0%, #d49a7d 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 50px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 700px;
  margin: .8rem 0 1.2rem;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  letter-spacing: -.045em;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
  color: var(--brown-soft);
  font-size: .85rem;
  font-weight: 650;
}

.hero-art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-art-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,217,210,.75), rgba(251,217,210,0) 68%);
}

.hero-art img {
  position: relative;
  width: min(520px, 100%);
  filter: drop-shadow(0 22px 30px rgba(138,63,42,.08));
}

/* ---------- Services ---------- */

.services-section {
  text-align: center;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 45px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.service-card {
  position: relative;
  padding: 30px;
  background: rgba(255,246,240,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(138,63,42,.055);
  overflow: hidden;
  transition: .3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -55px;
  bottom: -65px;
  border-radius: 50%;
  background: var(--pink-soft);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(201,120,114,.24);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 16px;
  color: var(--brown);
  background: var(--pink);
  font-size: 1.35rem;
}

.service-card h3 {
  margin-bottom: 9px;
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.service-card p {
  min-height: 105px;
  color: var(--muted);
  font-size: .94rem;
}

.service-card a {
  position: relative;
  z-index: 2;
  color: var(--brown);
  font-weight: 750;
  font-size: .9rem;
}

.service-card a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .2s ease;
}

.service-card a:hover span {
  transform: translateX(4px);
}

/* ---------- About ---------- */

.about-section {
  padding-top: 35px;
}

.about-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 55px;
  padding: 55px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
}

.about-art {
  min-height: 380px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f4d9ca, #dcae95);
  border-radius: 25px;
}

.about-art img {
  width: 105%;
  filter: drop-shadow(0 15px 22px rgba(138,63,42,.07));
}

.about-copy > p {
  max-width: 650px;
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.values strong {
  color: var(--peach);
  font-size: .78rem;
  letter-spacing: .1em;
}

.values h3 {
  margin: 8px 0 6px;
  color: var(--brown);
  font-size: .98rem;
}

.values p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

/* ---------- Contact ---------- */

.contact-section {
  padding-top: 65px;
  padding-bottom: 100px;
}

.contact-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 55px;
  padding: 55px;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 0% 100%, rgba(242,181,174,.3), transparent 22rem),
    var(--brown);
  box-shadow: 0 25px 65px rgba(138,63,42,.18);
}

.contact-intro h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-intro h2 em {
  color: var(--peach);
}

.contact-intro > p {
  color: rgba(255,255,255,.75);
}

.contact-decoration {
  width: 190px;
  height: 190px;
  margin-top: 25px;
  opacity: .42;
  background: url("feuilles-transparent.png") center / contain no-repeat;
  transform: rotate(-18deg);
}

.contact-form {
  padding: 0;
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.form-row label {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  outline: 0;
  color: white;
  background: rgba(255,255,255,.09);
  transition: .2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255,255,255,.5);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--peach);
  background: rgba(255,255,255,.13);
  box-shadow: 0 0 0 3px rgba(242,181,174,.12);
}

.form-submit {
  margin-top: 5px;
  color: var(--brown);
  background: white;
}

.form-submit:hover {
  background: var(--pink-soft);
}

.note {
  margin: 12px 0 0;
  color: rgba(255,255,255,.52);
  font-size: .75rem;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.site-footer div {
  display: flex;
  flex-direction: column;
}

.site-footer strong {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.site-footer span {
  font-size: .72rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner,
  .about-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 300px;
    order: -1;
  }

  .hero-art img {
    width: min(420px, 85%);
  }

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

  .service-card p {
    min-height: auto;
  }

  .about-card,
  .contact-card {
    padding: 35px;
  }

  .about-art {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .header-inner {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-list {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-list a {
    white-space: nowrap;
  }

  .section,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero-inner {
    padding: 55px 0;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero-art {
    min-height: 230px;
  }

  .hero-art-glow {
    width: 280px;
    height: 280px;
  }

  .trust-row {
    gap: 10px;
  }

  .about-card,
  .contact-card {
    padding: 25px;
    border-radius: 24px;
  }

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

  .contact-decoration {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .decor-leaves {
    width: 200px;
    opacity: .12;
  }
}


/* =========================================================
   NAVIGATION — BOUTONS PAPILLON
   Style basé directement sur l'image de référence.
   ========================================================= */

.nav-list {
  gap: 12px;
}

.nav-list a {
  position: relative;
  z-index: 1;
  overflow: visible;
  min-width: 100px;
  justify-content: center;
  background: transparent;
  transition: color .3s ease, transform .3s ease, background .3s ease;
}

/* Ailes fines autour de chaque bouton */
.nav-list a:not(.nav-contact)::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 154px;
  height: 82px;
  transform: translate(-50%, -50%) scale(.98);
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20220%20100%22%3E%0A%3Cdefs%3E%3ClinearGradient%20id%3D%22w%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%0A%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff8f6%22/%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23fbd9d2%22/%3E%0A%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e8a39b%22/%3E%3C/linearGradient%3E%3C/defs%3E%0A%3Cg%20fill%3D%22url%28%23w%29%22%20stroke%3D%22%23c97872%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M110%2050C98%2031%2084%209%2063%208%2043%207%2032%2019%2039%2035c6%2012%2020%2016%2039%2015-16-9-23-19-19-25%205-8%2017-4%2028%205%208%207%2015%2015%2023%2020Z%22/%3E%0A%3Cpath%20d%3D%22M110%2052c-16%203-33%2012-45%2025-10%2011-24%209-27-1-4-12%209-21%2024-24%2017-3%2033-3%2048%200Z%22/%3E%0A%3Cpath%20d%3D%22M110%2050c12-19%2026-41%2047-42%2020-1%2031%2011%2024%2027-6%2012-20%2016-39%2015%2016-9%2023-19%2019-25-5-8-17-4-28%205-8%207-15%2015-23%2020Z%22/%3E%0A%3Cpath%20d%3D%22M110%2052c16%203%2033%2012%2045%2025%2010%2011%2024%209%2027-1%204-12-9-21-24-24-17-3-33-3-48%200Z%22/%3E%0A%3C/g%3E%0A%3Cg%20fill%3D%22none%22%20stroke%3D%22%23d48a82%22%20stroke-width%3D%221%22%20opacity%3D%22.72%22%3E%0A%3Cpath%20d%3D%22M104%2046C91%2035%2078%2023%2061%2018%22/%3E%3Cpath%20d%3D%22M101%2048C86%2043%2071%2038%2055%2034%22/%3E%0A%3Cpath%20d%3D%22M103%2054C86%2059%2070%2068%2057%2079%22/%3E%3Cpath%20d%3D%22M116%2046C129%2035%20142%2023%20159%2018%22/%3E%0A%3Cpath%20d%3D%22M119%2048C134%2043%20149%2038%20165%2034%22/%3E%3Cpath%20d%3D%22M117%2054C134%2059%20150%2068%20163%2079%22/%3E%0A%3C/g%3E%0A%3Cg%20fill%3D%22%23d98d84%22%3E%3Ccircle%20cx%3D%2231%22%20cy%3D%2217%22%20r%3D%221.8%22/%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2230%22%20r%3D%221.2%22/%3E%0A%3Ccircle%20cx%3D%2235%22%20cy%3D%2275%22%20r%3D%221.4%22/%3E%3Ccircle%20cx%3D%22189%22%20cy%3D%2217%22%20r%3D%221.8%22/%3E%3Ccircle%20cx%3D%22196%22%20cy%3D%2230%22%20r%3D%221.2%22/%3E%3Ccircle%20cx%3D%22185%22%20cy%3D%2275%22%20r%3D%221.4%22/%3E%3C/g%3E%0A%3C/svg%3E") center / contain no-repeat;
  opacity: .82;
  pointer-events: none;
  transition: opacity .3s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}

/* Pastille claire derrière le texte */
.nav-list a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  width: 106px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,245,242,.84);
  box-shadow: 0 7px 18px rgba(213,111,105,.08);
  pointer-events: none;
  transition: transform .35s ease, box-shadow .35s ease;
}

.nav-list a:not(.nav-contact) {
  color: var(--brown-soft);
  font-weight: 650;
}

.nav-list a:not(.nav-contact):hover {
  color: var(--rose);
  transform: translateY(-1px);
}

.nav-list a:not(.nav-contact):hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.04);
  filter: drop-shadow(0 5px 7px rgba(213,111,105,.13));
}

.nav-list a:not(.nav-contact):hover::after {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 9px 22px rgba(213,111,105,.12);
}

/* Petit trait rose sous les boutons, comme sur l'exemple */
.nav-list a[href="#accueil"],
.nav-list a[href="#services"],
.nav-list a[href="#a-propos"] {
  text-decoration: underline;
  text-decoration-color: rgba(201,120,114,.72);
  text-decoration-thickness: 2px;
  text-underline-offset: 20px;
}

/* Contact : bouton marron identique à la référence */
.nav-list .nav-contact {
  min-width: 130px;
  color: white;
  background: var(--brown);
  padding-inline: 1.25rem;
  box-shadow: 0 8px 20px rgba(90,47,22,.15);
}

.nav-list .nav-contact:hover {
  color: white;
  background: var(--brown-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(90,47,22,.20);
}

/* Animation très légère */
@keyframes nabi-reference-butterfly {
  0%, 100% { transform: translate(-50%, -50%) scale(1.04); }
  50% { transform: translate(-50%, -50%) scale(.99, 1.03); }
}

.nav-list a:not(.nav-contact):hover::before {
  animation: nabi-reference-butterfly 1.5s ease-in-out infinite;
}

@media (max-width: 700px) {
  .nav-list { gap: 8px; }

  .nav-list a {
    min-width: auto;
    padding-inline: .75rem;
  }

  .nav-list a:not(.nav-contact)::before {
    width: 128px;
    height: 70px;
  }

  .nav-list a:not(.nav-contact)::after {
    width: 88px;
    height: 42px;
  }

  .nav-list a[href="#accueil"],
  .nav-list a[href="#services"],
  .nav-list a[href="#a-propos"] {
    text-underline-offset: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-list a:not(.nav-contact):hover::before {
    animation: none;
  }
}

/* ---------- Common ---------- */

.section {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 105px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--rose);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--peach);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brown);
  line-height: 1.12;
}

h1 em, h2 em {
  color: var(--rose);
  font-style: normal;
}

h2 {
  margin: .65rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.25rem;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 750;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: var(--brown);
  box-shadow: 0 12px 26px rgba(90,47,22,.18);
}

.btn-primary:hover {
  background: var(--brown-dark);
  box-shadow: 0 16px 30px rgba(90,47,22,.23);
}

.btn-secondary {
  color: var(--brown);
  background: rgba(255,248,243,.72);
  border: 1px solid rgba(122,65,45,.18);
}

.btn-secondary:hover {
  background: var(--pink-soft);
}

