/* =========================================================================
   NESU DIGITAL — feuille de style unique.

   PALETTE. Le fond est un BLANC, mais un blanc accorde au logo : jamais du
   #FFF pur sur toute la page, qui virerait au bleu a cote du vert de marque.
   Les surfaces alternent entre le blanc franc des cartes et un blanc tres
   legerement teinte de vert (#F7FAF9), pris dans la meme famille que le logo.

   L'OR NE PORTE JAMAIS DE TEXTE COURANT. Sur blanc il plafonne a 2,2:1, tres
   en dessous du seuil de lecture. Il sert de trait, de chiffre et d'accent
   graphique ; quand il faut de l'or lisible, c'est la LUMINOSITE qui est
   corrigee et la teinte qui est conservee.
   ========================================================================= */

:root {
  --white: #ffffff;
  --tint: #f4f8f7;
  --tint-2: #eaf1ef;
  --teal: #0d4b47;
  --teal-deep: #08332f;
  --teal-mid: #12615b;
  --teal-soft: #d7e5e2;
  --gold: #d9a02b;
  --gold-light: #e8b44a;
  --gold-ink: #7d5a0d;
  --ink: #102b28;
  --body: #445e5b;
  --line: #cbd9d5;
  --shadow-sm: 0 1px 2px rgba(8, 51, 47, 0.06), 0 4px 12px rgba(8, 51, 47, 0.04);
  --shadow-md: 0 12px 32px rgba(8, 51, 47, 0.1);
  --radius: 6px;
  --radius-lg: 12px;
  --shell: 1160px;
  --ease: cubic-bezier(0.22, 0.75, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 650;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 92px 0;
}

.section--tint {
  background: var(--tint);
}

.section--dark {
  background: var(--teal);
  color: #cfe0dd;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-ink);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section--dark .eyebrow {
  color: var(--gold-light);
}

.head {
  max-width: 720px;
  margin-bottom: 52px;
}

.head h2 {
  font-size: clamp(1.75rem, 3.7vw, 2.55rem);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.12rem;
  color: var(--body);
  max-width: 64ch;
}

.section--dark .lead {
  color: #b8d0cc;
}

/* ---------------- EN-TETE ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  transition: min-height 0.25s var(--ease);
}

.site-header.is-stuck .bar {
  min-height: 62px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 34px;
  width: auto;
  transition: height 0.25s var(--ease);
}

.site-header.is-stuck .logo img {
  height: 28px;
}

.logo span {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--teal);
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--body);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 0;
  display: inline-block;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--teal);
  font-weight: 650;
}

.burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal);
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--teal);
  transition: transform 0.25s var(--ease);
}

.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}
.burger[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 940px) {
  .burger {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 74px 0 auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 24px 24px;
    display: none;
  }
  .nav.is-open {
    display: block;
  }
  .nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .nav a {
    padding: 13px 0;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav a::after {
    display: none;
  }
  .header-cta {
    display: none;
  }
}

/* ---------------- BOUTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.97rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.14s var(--ease), background-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--teal-deep);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--teal);
  background: var(--white);
}

.btn--ghost:hover {
  border-color: var(--teal);
  background: var(--tint);
}

.btn--light {
  background: #ffffff;
  color: var(--teal);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.btn--outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn--wa {
  /*
    Vert assombri par rapport au vert WhatsApp d'origine : celui-ci ne tient que
    3,5:1 sous du texte blanc. Teinte conservee, luminosite corrigee — le bouton
    reste immediatement reconnaissable et devient lisible (5,0:1).
  */
  background: #158040;
  color: #ffffff;
}

.btn--wa:hover {
  background: #10682f;
}

/* ---------------- OUVERTURE ---------------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background: linear-gradient(168deg, var(--tint) 0%, var(--white) 58%);
  overflow: hidden;
}

/* Deux flèches très pâles reprennent les pointes du logo, sans jamais gêner la lecture. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 75, 71, 0.055), rgba(13, 75, 71, 0));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero::before {
  width: 320px;
  height: 460px;
  right: -40px;
  top: -60px;
}

.hero::after {
  width: 210px;
  height: 300px;
  left: -70px;
  bottom: -40px;
  background: linear-gradient(180deg, rgba(217, 160, 43, 0.12), rgba(217, 160, 43, 0));
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.07em;
  height: 0.16em;
  background: rgba(217, 160, 43, 0.42);
  z-index: -1;
}

.hero p {
  font-size: 1.14rem;
  margin-bottom: 32px;
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__aside {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 30px;
  width: 100%;
  max-width: 380px;
}

.hero__card img {
  height: 96px;
  width: auto;
  display: block;
  margin: 0 auto 22px;
}

.hero__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.hero__card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--body);
}

.check {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(13, 75, 71, 0.09);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

@media (max-width: 940px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__aside {
    order: -1;
  }
  .hero__card {
    max-width: 100%;
  }
}

/* ---------------- CHIFFRES ---------------- */
.figures {
  background: var(--teal);
  color: #ffffff;
}

.figures ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.figures li {
  padding: 34px 18px;
  text-align: center;
}

.figures li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.figures b {
  display: block;
  font-size: 2.15rem;
  color: #ffffff;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.figures span {
  font-size: 0.85rem;
  color: #a9c7c3;
}

@media (max-width: 760px) {
  .figures ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .figures li:nth-child(3) {
    border-left: 0;
  }
  .figures li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* ---------------- GRILLES ET CARTES ---------------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.card h3 {
  font-size: 1.14rem;
}

.card p {
  font-size: 0.97rem;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(13, 75, 71, 0.08);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

/* ---------------- PALIERS ---------------- */
.tier {
  position: relative;
  overflow: hidden;
}

.tier::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.tier:hover::before {
  transform: scaleX(1);
}

.tier--featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.tier__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  background: var(--teal);
  padding: 5px 11px;
  border-radius: 999px;
}

.tier__price {
  font-size: 2.2rem;
  color: var(--teal);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tier__price small {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--body);
  letter-spacing: 0;
  margin-top: 6px;
}

.tier ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.tier li {
  position: relative;
  padding-left: 27px;
  font-size: 0.96rem;
  color: var(--ink);
}

.tier li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.tier__note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
}

/* ---------------- ETAPES ---------------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  padding-top: 24px;
  border-top: 2px solid rgba(232, 180, 74, 0.45);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 1.6rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.steps p {
  font-size: 0.93rem;
  color: #b8d0cc;
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------------- SECTEURS ---------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips li {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--body);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.chips li:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ---------------- SPLIT ---------------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 940px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--tint-2);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.portrait figcaption {
  padding: 20px 24px;
  background: var(--teal);
  color: #ffffff;
}

.portrait figcaption b {
  display: block;
  font-size: 1.08rem;
  font-weight: 650;
}

.portrait figcaption span {
  font-size: 0.87rem;
  color: #a9c7c3;
}

/* Emplacement en attente de la photo — visible, jamais confondu avec une vraie image. */
.portrait--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border: 2px dashed var(--line);
  box-shadow: none;
  text-align: center;
  padding: 32px;
  color: var(--body);
  font-size: 0.94rem;
}

/* ---------------- CONTACT ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card h3 {
  font-size: 1.06rem;
}

.contact-card a {
  font-size: 1.06rem;
  font-weight: 650;
  color: var(--teal);
  text-decoration: none;
  display: block;
  padding: 3px 0;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card small {
  color: var(--body);
  font-size: 0.87rem;
}

/* ---------------- APPEL FINAL ---------------- */
.cta {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  color: #ffffff;
  text-align: center;
  padding: 84px 0;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 18px;
  color: #ffffff;
}

.cta p {
  color: #bcd6d2;
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- PIED ---------------- */
.site-footer {
  background: var(--teal-deep);
  color: #9dbab6;
  padding: 60px 0 28px;
  font-size: 0.92rem;
}

.site-footer a {
  color: #d3e4e1;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.foot-grid img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.foot-grid h4 {
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

/* ---------------- EN-TETE DE PAGE INTERIEURE ---------------- */
.page-head {
  background: linear-gradient(168deg, var(--tint) 0%, var(--white) 70%);
  padding: 68px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(1.95rem, 4.4vw, 3rem);
  margin-bottom: 18px;
}

.crumb {
  font-size: 0.84rem;
  color: var(--body);
  margin-bottom: 18px;
}

.crumb a {
  text-decoration: none;
}

.crumb a:hover {
  text-decoration: underline;
}

/* ---------------- MOUVEMENT ----------------
   Le mouvement sert a guider l'oeil, jamais a faire attendre. Tout est
   desactive des que le systeme demande moins d'animations : c'est un reglage
   d'accessibilite, pas une preference esthetique.                            */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Le focus reste visible : il porte une information. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--teal);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
}
