:root {
  --ink: #1d1b17;
  --muted: #70685d;
  --paper: #fffaf0;
  --paper2: #f5ead8;
  --leaf: #8fbf9f;
  --sage: #cfe3d0;
  --sun: #ffc86a;
  --coral: #ff9f8b;
  --blue: #dff2f5;
  --shadow: 0 24px 80px rgba(69, 55, 34, .14);
  --radius: 32px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 0%, #fff 0 18%, transparent 40%), linear-gradient(135deg, var(--paper), #f9f2e7 45%, #eff8ef);
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply
}

.ambient span {
  position: fixed;
  border-radius: 999px;
  filter: blur(20px);
  opacity: .45;
  animation: float 12s ease-in-out infinite;
  z-index: -1
}

.ambient span:nth-child(1) {
  width: 280px;
  height: 280px;
  background: var(--sun);
  left: -80px;
  top: 120px
}

.ambient span:nth-child(2) {
  width: 340px;
  height: 340px;
  background: var(--blue);
  right: -120px;
  top: 220px;
  animation-delay: -4s
}

.ambient span:nth-child(3) {
  width: 260px;
  height: 260px;
  background: var(--sage);
  left: 50%;
  bottom: -90px;
  animation-delay: -8s
}

@keyframes float {
  50% {
    transform: translate3d(30px, -35px, 0) scale(1.07)
  }
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  background: rgba(255, 250, 240, .76);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(29, 27, 23, .08);
  border-radius: 999px;
  z-index: 20;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .07)
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800
}

.brand img {
  width: 52px;
  height: 38px;
  object-fit: contain
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px
}

.main-nav a:hover,
.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important
}

main {
  width: min(1180px, calc(100% - 30px));
  margin: auto
}

.hero {
  min-height: 100svh;
  padding: 130px 0 70px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center
}

.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 800;
  color: #7aa07e;
  margin: 0 0 16px
}

.hero h1,
.intro h2,
.section-head h2,
.experience h2,
.contact h2 {
  font-family: Fraunces, serif;
  font-size: clamp(44px, 7vw, 96px);
  line-height: .94;
  letter-spacing: -.06em;
  margin: 0 0 24px
}

.lead,
.intro p,
.experience p,
.pricing p,
.contact p {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  color: var(--muted)
}

.hero-copy {
  padding: 34px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer
}

.btn.primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--sun)
}

.btn.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(29, 27, 23, .12)
}

.hero-orbit {
  min-height: 580px;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(245, 234, 216, .8));
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29, 27, 23, .08)
}

.hero-orbit img {
  width: min(74%, 520px);
  position: relative;
  z-index: 2;
  mix-blend-mode: multiply
}

.hero-orbit p {
  position: absolute;
  bottom: 34px;
  font-family: Fraunces, serif;
  font-style: italic;
  font-size: 26px
}

.sound-ring {
  position: absolute;
  border: 2px solid rgba(143, 191, 159, .44);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite
}

.r1 {
  width: 270px;
  height: 270px
}

.r2 {
  width: 410px;
  height: 410px;
  animation-delay: .6s
}

.r3 {
  width: 550px;
  height: 550px;
  animation-delay: 1.2s
}

@keyframes pulse {
  50% {
    transform: scale(1.07);
    opacity: .42
  }
}

.intro,
.pricing,
.contact,
.experience {
  margin: 40px 0;
  padding: 56px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(29, 27, 23, .08);
  box-shadow: var(--shadow)
}

.section-label {
  font-weight: 900;
  color: #7aa07e;
  letter-spacing: .2em;
  text-transform: uppercase
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px
}

.mini-grid div {
  padding: 22px;
  background: var(--paper);
  border-radius: 24px
}

.mini-grid strong {
  display: block;
  font-family: Fraunces, serif;
  font-size: 28px
}

.mini-grid span {
  color: var(--muted)
}

.prestations {
  padding: 70px 0
}

.section-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 36px
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.service-card {
  min-height: 360px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 27, 23, .08);
  position: relative;
  overflow: hidden;
  transition: .35s
}

.service-card:before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--sage);
  opacity: .5
}

.service-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  background: #fff
}

.service-card:nth-child(2n):before {
  background: var(--blue)
}

.service-card:nth-child(3n):before {
  background: var(--sun)
}

.service-card.wide {
  grid-column: span 2
}

.num {
  font-weight: 900;
  color: #7aa07e;
  letter-spacing: .2em
}

.service-card h3 {
  font-family: Fraunces, serif;
  font-size: 34px;
  line-height: 1;
  margin: 54px 0 18px
}

.service-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted)
}

.service-card small {
  display: block;
  margin-top: 18px;
  font-weight: 800;
  color: var(--ink)
}

.experience {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 34px;
  align-items: center
}

.wave {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.wave i {
  display: block;
  width: 16px;
  border-radius: 99px;
  background: linear-gradient(var(--leaf), var(--sun));
  animation: bars 1.4s ease-in-out infinite
}

.wave i:nth-child(1) {
  height: 70px
}

.wave i:nth-child(2) {
  height: 130px;
  animation-delay: .1s
}

.wave i:nth-child(3) {
  height: 190px;
  animation-delay: .2s
}

.wave i:nth-child(4) {
  height: 230px;
  animation-delay: .3s
}

.wave i:nth-child(5) {
  height: 170px;
  animation-delay: .4s
}

.wave i:nth-child(6) {
  height: 105px;
  animation-delay: .5s
}

.wave i:nth-child(7) {
  height: 62px;
  animation-delay: .6s
}

@keyframes bars {
  50% {
    transform: scaleY(.55);
    opacity: .65
  }
}

.pricing {
  text-align: center;
  background: linear-gradient(135deg, #fff, var(--blue))
}

.pricing h2 {
  font-family: Fraunces, serif;
  font-size: clamp(72px, 12vw, 150px);
  line-height: .9;
  margin: 0
}

.pricing h2 span {
  font-size: clamp(24px, 4vw, 42px);
  color: var(--muted)
}

.contact {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(207, 227, 208, .7))
}

form {
  display: grid;
  gap: 14px
}

label {
  font-weight: 900
}

input,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid rgba(29, 27, 23, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .75);
  padding: 15px;
  font: inherit
}

footer {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted)
}

footer img {
  width: 180px;
  mix-blend-mode: multiply
}

.mobile-cta {
  display: none
}

.section-observe {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease
}

.section-observe.in {
  opacity: 1;
  transform: none
}

@media(max-width:900px) {
  .site-header {
    align-items: center
  }

  .main-nav a:not(.nav-cta) {
    display: none
  }

  .hero,
  .experience,
  .contact {
    grid-template-columns: 1fr
  }

  .hero {
    padding-top: 120px
  }

  .hero-copy {
    padding: 10px
  }

  .hero-orbit {
    min-height: 420px
  }

  .cards {
    grid-template-columns: 1fr
  }

  .service-card.wide {
    grid-column: auto
  }

  .mini-grid {
    grid-template-columns: 1fr
  }

  .intro,
  .pricing,
  .contact,
  .experience {
    padding: 28px;
    border-radius: 26px
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    justify-content: center;
    z-index: 21;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    border-radius: 999px;
    padding: 16px;
    font-weight: 900;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .18)
  }

  footer {
    padding-bottom: 90px
  }
}

@media(max-width:520px) {
  main {
    width: calc(100% - 22px)
  }

  .brand span {
    display: none
  }

  .brand img {
    width: 60px
  }

  .hero h1,
  .intro h2,
  .section-head h2,
  .experience h2,
  .contact h2 {
    font-size: 44px
  }

  .hero-orbit p {
    font-size: 20px
  }

  .service-card {
    min-height: auto
  }

  .site-header {
    top: 10px
  }

  .main-nav .nav-cta {
    font-size: 13px;
    padding: 11px 12px
  }
}

/* ============ ITINÉRANCE / CARTE CONFIGURABLE ============ */
.nomad-map {
  margin: 40px 0;
  padding: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(223, 242, 245, .68));
  border: 1px solid rgba(29, 27, 23, .08);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: stretch;
}

.nomad-map h2 {
  font-family: Fraunces, serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .95;
  letter-spacing: -.06em;
  margin: 0 0 22px
}

.map-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted)
}

.map-help {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px dashed rgba(29, 27, 23, .18)
}

.map-list {
  display: grid;
  gap: 10px;
  margin-top: 20px
}

.map-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(29, 27, 23, .08)
}

.map-list-item strong {
  font-family: Fraunces, serif;
  font-size: 22px;
  line-height: 1
}

.map-list-item span {
  font-weight: 900;
  color: #7aa07e;
  text-align: right
}

.map-panel {
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, var(--paper2));
  box-shadow: inset 0 0 0 1px rgba(29, 27, 23, .08);
  position: relative
}

.map-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px
}

.map-bg svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 40px rgba(69, 55, 34, .12))
}

.land {
  fill: rgba(207, 227, 208, .78);
  stroke: rgba(29, 27, 23, .28);
  stroke-width: 3
}

.route {
  fill: none;
  stroke: rgba(143, 191, 159, .75);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  animation: routeMove 12s linear infinite
}

.route.soft {
  stroke: rgba(255, 200, 106, .7);
  stroke-width: 3;
  stroke-dasharray: 5 12;
  animation-duration: 16s
}

@keyframes routeMove {
  to {
    stroke-dashoffset: -240
  }
}

.map-points {
  position: absolute;
  inset: 0
}

.map-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0
}

.map-pin {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 159, 139, .22), 0 10px 22px rgba(29, 27, 23, .16);
  border: 3px solid #fff;
  animation: pinPulse 2.6s ease-in-out infinite
}

@keyframes pinPulse {
  50% {
    box-shadow: 0 0 0 14px rgba(255, 159, 139, .08), 0 10px 22px rgba(29, 27, 23, .16)
  }
}

.map-tooltip {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(29, 27, 23, .92);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  text-align: left;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18)
}

.map-tooltip strong {
  display: block;
  font-family: Fraunces, serif;
  font-size: 22px;
  line-height: 1
}

.map-tooltip span {
  display: block;
  margin-top: 4px;
  color: var(--sun);
  font-weight: 900;
  font-size: 13px
}

.map-point:hover .map-tooltip,
.map-point:focus .map-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

.contact-email-card {
  align-self: center;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(29, 27, 23, .08);
  box-shadow: 0 18px 50px rgba(69, 55, 34, .10)
}

.contact-email-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 900;
  color: #7aa07e;
  margin-bottom: 12px
}

.contact-email-card a {
  font-family: Fraunces, serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word
}

.contact-email-card a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--sun);
  text-underline-offset: 8px
}

.contact-email-card p {
  font-size: 16px;
  margin-top: 18px
}

@media(max-width:900px) {
  .nomad-map {
    grid-template-columns: 1fr;
    padding: 28px;
    border-radius: 26px
  }

  .map-panel {
    min-height: 420px
  }

  .main-nav a[href="#itineraire"] {
    display: none
  }
}

@media(max-width:520px) {
  .map-list-item {
    display: grid
  }

  .map-list-item span {
    text-align: left
  }

  .map-panel {
    min-height: 340px
  }

  .map-bg {
    padding: 10px
  }

  .map-tooltip {
    min-width: 150px
  }

  .contact-email-card {
    padding: 22px
  }
}

/* ============ CARTE OPENSTREETMAP ============ */
.map-panel {
  min-height: 560px;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(29, 27, 23, .08);
  position: relative;
  border: 1px solid rgba(29, 27, 23, .08)
}

.osm-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 560px;
  z-index: 1;
}

.leaflet-container {
  font-family: Inter, system-ui, sans-serif;
  background: #edf5ed
}

.leaflet-control-attribution {
  font-size: 10px
}

.leaflet-popup-content-wrapper {
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(29, 27, 23, .18)
}

.leaflet-popup-content {
  margin: 14px 16px
}

.presence-popup strong {
  display: block;
  font-family: Fraunces, serif;
  font-size: 24px;
  line-height: 1;
  color: var(--ink)
}

.presence-popup span {
  display: block;
  margin-top: 6px;
  font-weight: 900;
  color: #7aa07e
}

.presence-marker {
  background: transparent;
  border: 0
}

.presence-marker span {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--coral);
  border: 4px solid #fff;
  box-shadow: 0 0 0 10px rgba(255, 159, 139, .25), 0 14px 26px rgba(29, 27, 23, .24);
  animation: pinPulse 2.4s ease-in-out infinite
}

.map-list-item {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(29, 27, 23, .08);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease
}

.map-list-item:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(69, 55, 34, .10)
}

@media(max-width:900px) {

  .map-panel,
  .osm-map {
    min-height: 430px
  }
}

@media(max-width:520px) {

  .map-panel,
  .osm-map {
    min-height: 360px
  }
}