:root {
  --nwc-blue: #0EA5E9;
  --nwc-blue-dark: #0C4A6E;
  --nwc-red: #F97316;
  --nwc-red-dark: #EA580C;
  --nwc-ice: #E0F2FE;
  --nwc-white: #ffffff;
  --nwc-ink: #0C4A6E;

  /* Radii (claymorphism : arrondis généreux) */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  /* Échelle d'ombres douces (claymorphism : double ombre) */
  --shadow-sm: 0 4px 14px rgba(14, 165, 233, 0.10);
  --shadow-md: 0 10px 28px rgba(14, 165, 233, 0.14);
  --shadow-lg: 0 20px 44px rgba(14, 165, 233, 0.20);
  --shadow-clay: 0 12px 26px rgba(12, 74, 110, 0.12), 0 2px 6px rgba(12, 74, 110, 0.08);
  --shadow: var(--shadow-md);

  /* Échelle d'espacement */
  --space-section: clamp(64px, 9vw, 104px);

  --container: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--nwc-ink);
  background:
    radial-gradient(circle at 10% 0%, #e0f2fe 0%, transparent 42%),
    radial-gradient(circle at 90% 20%, #fff7ed 0%, transparent 33%),
    linear-gradient(180deg, #f0f9ff 0%, #ffffff 60%);
  line-height: 1.5;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--space-section) 0;
}

/* Alternance de fonds pour rythmer la page */
.section:nth-of-type(even) {
  background: rgba(224, 242, 254, 0.4);
}

.section-title {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--nwc-blue-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Trait d'accent sous les titres de section */
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--nwc-red);
}

.section-lead {
  max-width: 68ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #1e5070;
  margin-bottom: 44px;
}

/* ── Navbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  background: rgba(240, 249, 255, 0.94);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--nwc-blue-dark);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(14, 165, 233, 0.2);
}

.brand-text {
  font-family: "Russo One", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.6px;
}

.nav,
.nav-sidebar {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a,
.nav-sidebar a {
  text-decoration: none;
  color: var(--nwc-blue-dark);
  font-weight: 700;
  font-size: 0.94rem;
  transition: color .2s ease-out;
}

.nav a:hover,
.nav-sidebar a:hover {
  color: var(--nwc-red);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.2px;
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  transition: transform .2s ease-out, box-shadow .2s ease-out, background .2s ease-out;
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.4);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--nwc-red), #fb923c);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.42);
}

.btn-secondary {
  color: var(--nwc-blue-dark);
  background: #e0f2fe;
}

.btn-secondary:hover {
  background: #bae6fd;
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.65) 0%, rgba(12, 74, 110, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 0 24px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 28px;
  animation: logoZoom 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-family: "Nunito Sans", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.6px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-badge {
  display: inline-block;
  background: var(--nwc-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
  cursor: default;
  user-select: none;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes logoZoom {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.86rem;
}

/* ── Stats Bar ── */
.stats-bar {
  background: linear-gradient(90deg, var(--nwc-blue-dark) 0%, #0369a1 100%);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

/* Séparateurs subtils entre les chiffres */
.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ── Cards ── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.card {
  height: 100%;
  border-radius: var(--radius);
  background: #fff;
  border: 2px solid rgba(14, 165, 233, 0.12);
  padding: 30px 28px;
  box-shadow: var(--shadow-clay);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease-out, transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}

.card.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Survol : élévation douce, sans décalage de layout */
.card.reveal:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.3);
}

.card h3 {
  font-family: "Russo One", sans-serif;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--nwc-blue-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card p {
  color: #335f7d;
  line-height: 1.6;
}

/* ── Tarifs ── */
.tarif {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.tarif .card strong {
  display: block;
  font-size: 2.4rem;
  color: var(--nwc-red);
  line-height: 1;
  margin: 14px 0 10px;
  font-family: "Russo One", sans-serif;
}

.tarif-card {
  text-align: left;
  width: 100%;
  cursor: pointer;
  position: relative;
  transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s ease-out;
}

.tarif-card.reveal:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.4);
}

.tarif-card.is-active {
  border-color: var(--nwc-red);
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.24);
}

/* Carte recommandée : "Pass Liberté" mise en avant */
#tarif-liberte::before {
  content: "★ Le plus populaire";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--nwc-red);
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

.tarif-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #1e5070;
}

.tarif-subtitle {
  font-family: "Russo One", sans-serif;
  font-size: 1.5rem;
  color: var(--nwc-blue-dark);
  text-transform: uppercase;
  margin: 40px 0 18px;
}

.tarif-price {
  display: block;
  font-size: 2rem;
  color: var(--nwc-red);
  line-height: 1;
  margin: 10px 0 8px;
  font-family: "Russo One", sans-serif;
}

.tarif-details {
  margin-top: 24px;
  background: #fff;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.07);
}

.tarif-details h3 {
  font-family: "Russo One", sans-serif;
  text-transform: uppercase;
  color: var(--nwc-blue-dark);
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.tarif-details p {
  color: #1e5070;
  margin-bottom: 12px;
}

.detail-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.detail-list li {
  padding-left: 18px;
  position: relative;
}

.detail-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nwc-red);
  position: absolute;
  top: 9px;
  left: 0;
}

/* ── Forms ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

form {
  background: #fff;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.07);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  font-weight: 700;
  color: var(--nwc-blue-dark);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--nwc-blue-dark);
  background: #fff;
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--nwc-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.feedback {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

.feedback.error {
  color: #c2410c;
}

.feedback.success {
  color: #0d7a35;
}

.rating-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rating-group input {
  display: none;
}

.rating-group label {
  cursor: pointer;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  font-size: 0.92rem;
  color: var(--nwc-blue-dark);
  font-weight: 700;
  background: #f0f9ff;
  transition: all .2s ease-out;
}

.rating-group input:checked + label {
  background: #e0f2fe;
  border-color: var(--nwc-blue);
  color: var(--nwc-blue-dark);
}

/* ── Avis ── */
.avis-placeholder {
  background: #fff;
  border: 2px dashed rgba(14, 165, 233, 0.3);
  border-radius: var(--radius);
  padding: 48px 28px;
  text-align: center;
  box-shadow: var(--shadow-clay);
}

.avis-placeholder p {
  font-size: 1.15rem;
  color: var(--nwc-blue-dark);
  font-weight: 700;
  margin-bottom: 22px;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.avis-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-clay);
  transition: transform .3s ease-out, box-shadow .3s ease-out;
}

.avis-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Guillemet décoratif */
.avis-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: "Russo One", sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(14, 165, 233, 0.12);
}

.avis-card .avis-rating {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.avis-card p {
  color: #335f7d;
  margin-bottom: 14px;
  font-style: italic;
  line-height: 1.6;
}

.avis-author {
  margin-top: auto;
  font-weight: 800;
  color: var(--nwc-blue-dark);
  margin-bottom: 0;
}

.avis-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.avis-item {
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.avis-item strong {
  color: var(--nwc-blue-dark);
  display: block;
  margin-bottom: 4px;
}

/* ── Images / Gallery ── */
.section-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.section-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .35s ease-out, box-shadow .35s ease-out;
}

.section-image.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Survol : on soulève le cadre + on zoome l'image à l'intérieur (aucun décalage) */
.section-image:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.section-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease-out;
}

.section-image:hover img {
  transform: scale(1.05);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-item a {
  color: var(--nwc-red);
  text-decoration: none;
  font-weight: 700;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-sub {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: #5b7c91;
}

.contact-item {
  height: 100%;
  border: 2px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: #fff;
  box-shadow: var(--shadow-clay);
  transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}

.contact-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.3);
}

.contact-item h3 {
  font-family: "Russo One", sans-serif;
  color: var(--nwc-blue-dark);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-item p {
  line-height: 1.8;
}

/* ── Footer ── */
footer {
  padding: 44px 0;
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  color: #1e5070;
  font-size: 0.92rem;
  background: #f0f9ff;
  text-align: center;
}

/* ── Mobile menu ── */
.menu-btn {
  display: inline-block;
  border: 0;
  background: transparent;
  color: var(--nwc-blue-dark);
  font-weight: 700;
  cursor: pointer;
  font-size: 1.8rem;
  padding: 0.4rem 0.6rem;
  line-height: 1;
  transition: transform .2s ease-out;
  z-index: 300;
  margin-left: auto;
}

.menu-btn:hover {
  transform: scale(1.1);
}

.menu-btn::before {
  content: "☰";
}

/* Sidebar Navigation */
.nav-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-right: 2px solid rgba(14, 165, 233, 0.15);
  padding: 20px 0;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 250;
  box-shadow: 4px 0 20px rgba(14, 165, 233, 0.2);
  flex-direction: column;
}

.nav-sidebar.open {
  transform: translateX(0);
}


.nav-close {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  color: var(--nwc-blue-dark);
  cursor: pointer;
  padding: 12px 20px;
  width: 100%;
  text-align: right;
  transition: transform .2s ease-out;
}

.nav-close:hover {
  transform: scale(1.2);
}

.nav-sidebar a {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--nwc-blue-dark);
  font-weight: 600;
  border-left: 4px solid transparent;
  transition: all .2s ease-out;
}

.nav-sidebar a:hover {
  background: rgba(14, 165, 233, 0.1);
  border-left-color: var(--nwc-red);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease-out, visibility .3s ease-out;
  z-index: 200;
  cursor: pointer;
}

.nav-overlay.open {
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
  visibility: visible;
}

/* ── Splash screen ── */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(224, 242, 254, 0.65) 0%, transparent 38%),
    radial-gradient(circle at 80% 90%, rgba(249, 115, 22, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, #f0f9ff 0%, #ffffff 75%);
  opacity: 1;
  visibility: visible;
  transition: opacity .65s ease-out, visibility .65s ease-out;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  max-width: 520px;
  animation: splashUp .8s ease-out both;
}

.splash-logo {
  width: min(42vw, 190px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  border: 3px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 16px 32px rgba(14, 165, 233, 0.16);
  margin-bottom: 16px;
}

.splash-title {
  font-family: "Russo One", sans-serif;
  text-transform: uppercase;
  color: var(--nwc-blue-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.6px;
}

.splash-text {
  color: #1e5070;
  font-size: 1.02rem;
}

@keyframes splashUp {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  .splash-screen,
  .splash-content {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .cards-3,
  .tarif,
  .avis-grid,
  .section-images {
    grid-template-columns: 1fr;
  }

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

  .menu-btn {
    display: inline-block;
  }

  .nav-close {
    display: block;
  }

  .brand-text {
    font-size: 1rem;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .section-images {
    grid-template-columns: 1fr;
  }

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