/* ==============================
   Variables & reset
================================= */
:root {
  --vert: #1bb39b;
  --vert-fonce: #0f8c77;
  --bleu: #1c6fd6;
  --bleu-fonce: #123a79;
  --fond-page: #e7f5ff;
  --fond-carte: #f3fbff;
  --fond-hero: #e9f7f4;
  --texte: #05111a;
  --texte-clair: #f7fafc;
  --gris: #7b8696;
  --bord-doux: rgba(3, 20, 34, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(2, 18, 30, 0.25);
  --shadow-light: 0 10px 30px rgba(7, 32, 50, 0.15);
  --shadow-chip: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Reset de base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f1fbff 0, #dfefff 45%, #cce6ff 100%);
  color: var(--texte);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ==============================
   Layout global
================================= */
main {
  max-width: 1160px;
  margin: 0 auto 4rem auto;
  padding: 7rem 1.5rem 3rem 1.5rem;
}

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

/* Liens */
a {
  color: var(--bleu-fonce);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==============================
   HEADER
================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: radial-gradient(circle at top left, #123a79 0, #071829 55%, #020910 100%);
  color: var(--texte-clair);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.site-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-main {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.13em;
}

.brand-sub {
  font-size: 0.78rem;
  color: rgba(226, 238, 255, 0.9);
}

/* Navigation */
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: #e7f2ff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
  background: rgba(9, 41, 78, 0.85);
  transform: translateY(-1px);
}

.main-nav a.active {
  font-weight: 600;
  color: #ffffff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -0.3rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bleu), var(--vert));
}

/* Bouton Réservation */
.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--bleu), #1b88ff);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(23, 116, 230, 0.6);
}

.main-nav .nav-cta:hover {
  background: linear-gradient(135deg, #1b88ff, var(--bleu));
  transform: translateY(-1px);
}

/* ==============================
   HERO ACCUEIL
================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

/* Badge au-dessus du h1 */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #d9fbe5, #d9f5ff);
  color: #19543d;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* Titre principal */
.hero h1 {
  font-size: clamp(2.3rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #061525;
}

/* Sous-titre */
.hero-subtitle {
  font-size: 1rem;
  color: #273446;
  max-width: 44rem;
}

/* Badge vert */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  margin-top: 1.4rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(130deg, #dcffe9, #c8f9f0);
  color: #09563e;
  border-radius: 999px;
  font-size: 0.82rem;
  box-shadow: var(--shadow-chip);
}

/* Meta (secteurs, public, objectif) */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.86rem;
  color: #4a5665;
}

.hero-meta span {
  position: relative;
  padding-left: 0.9rem;
}

.hero-meta span::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--bleu);
}

/* CTA row */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

/* ==============================
   Boutons
================================= */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

/* Bouton principal vert */
.btn-primary {
  background: linear-gradient(135deg, var(--vert), #23c7ad);
  color: #042017;
  box-shadow: 0 18px 40px rgba(9, 131, 110, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(8, 107, 90, 0.6);
}

/* Bouton ghost (bord bleu) */
.btn-ghost {
  background: transparent;
  color: var(--bleu-fonce);
  border: 2px solid rgba(39, 112, 211, 0.55);
  background-clip: padding-box;
}

.btn-ghost:hover {
  background: rgba(237, 246, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(12, 67, 146, 0.25);
}

/* ==============================
   Carte latérale "Comment fonctionne le site ?"
================================= */
.hero-side {
  background: linear-gradient(135deg, #d7ffe9 0, #cdefff 50%, #e5f6ff 100%);
  border-radius: 32px;
  padding: 1.6rem 1.5rem 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-side h2 {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}

.hero-side ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  font-size: 0.94rem;
  color: #203143;
}

.hero-side li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero-side .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.5rem;
  max-height: 1.5rem;
}

.hero-side-footer {
  font-size: 0.82rem;
  color: #3c4d63;
  margin-top: 0.4rem;
}

/* ==============================
   Sections génériques
================================= */
.section {
  margin-top: 3.5rem;
  padding: 2.3rem 1.6rem 2.4rem;
  border-radius: 32px;
  background: radial-gradient(circle at top left, #f0fbff 0, #edf9ff 35%, #e5f3ff 100%);
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #47627c;
  margin-bottom: 0.4rem;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
  color: #061525;
}

.section > p {
  max-width: 50rem;
  font-size: 0.97rem;
  color: #334152;
}

/* ==============================
   Liste des zones / cartes canyon
================================= */
.canyon-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.7rem;
  margin-top: 0.7rem;
}

.canyon-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: 1.3rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 26px;
  background: linear-gradient(135deg, #f5fbff 0, #f1f9ff 40%, #eaf5ff 100%);
  border: 1px solid rgba(188, 215, 244, 0.9);
  box-shadow: 0 14px 32px rgba(6, 40, 78, 0.14);
  align-items: center;
}

.canyon-card-img {
  overflow: hidden;
  border-radius: 22px;
}

.canyon-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.canyon-card:hover .canyon-card-img img {
  transform: scale(1.065);
}

.canyon-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: #062035;
}

.canyon-card-body p {
  font-size: 0.94rem;
  color: #304156;
  margin-bottom: 0.6rem;
}

/* Liste méta dans les cartes canyon */
.canyon-meta {
  list-style: none;
  font-size: 0.87rem;
  color: #283547;
  margin: 0 0 0.7rem;
  padding: 0;
}

.canyon-meta li {
  margin-bottom: 0.25rem;
}

.canyon-meta a {
  font-weight: 600;
}

/* Bouton dans la carte */
.canyon-card .btn-primary {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}

/* ==============================
   Footer
================================= */
.site-footer {
  max-width: 1160px;
  margin: 0 auto 2.5rem auto;
  padding: 1rem 1.5rem 0.5rem;
  font-size: 0.8rem;
  color: #5e6a7a;
  border-top: 1px solid rgba(140, 170, 200, 0.45);
}

.site-footer a {
  color: #365b9b;
  margin-left: 0.5rem;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ==============================
   Responsive
================================= */
@media (max-width: 960px) {
  .site-header-inner {
    padding-inline: 1rem;
    gap: 1rem;
  }

  .brand-main {
    font-size: 0.9rem;
  }

  .brand-sub {
    display: none;
  }

  main {
    padding-inline: 1.1rem;
    padding-top: 6.2rem;
  }

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

  .hero-side {
    order: 2;
  }

  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .canyon-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    font-size: 0.85rem;
  }

  .main-nav a {
    padding-inline: 0.7rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding-inline: 1.1rem;
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    gap: 0.6rem;
  }

  .brand-logo img {
    height: 38px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section h2 {
    font-size: 1.35rem;
  }
}
.form {
  margin-top: 2rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
  color: #0d1b2a;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #dde3ea;
  background: #f8fafc;
  font-size: 1rem;
  transition: all 0.25s ease;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: #1c6fd6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28,111,214,0.15);
}

button.btn-primary {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #1c6fd6, #1bb39b);
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.25s ease;
}

button.btn-primary:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.group-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  background: #ffffff;
  overflow-x: auto;
  display: block;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
}

.group-table th {
  background: #f0f4f8;
  padding: 12px;
  font-size: 0.95rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #e5e7eb;
}

.group-table td {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.group-table input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid #dce1e7 !important;
  background: #f9fafb;
  font-size: 0.95rem;
}

.group-table input:focus {
  border-color: #1bb39b !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(27,179,155,0.15);
}

@media (prefers-color-scheme: dark) {
  .form {
    background: #0f172a;
    color: #e2e8f0;
    box-shadow: 0 10px 35px rgba(0,0,0,0.45);
  }

  .form label { color: #e2e8f0; }

  .form input,
  .form select,
  .form textarea {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
  }

  .form input:focus,
  .form select:focus,
  .form textarea:focus {
    border-color: #1bb39b;
    background: #0f172a;
    box-shadow: 0 0 0 4px rgba(27,179,155,0.25);
  }

  .group-table {
    background: #1e293b;
    border-color: #334155;
  }

  .group-table th {
    background: #334155;
    color: #e2e8f0;
  }

  .group-table td {
    border-bottom-color: #334155;
  }

  .group-table input {
    background: #0f172a;
    border-color: #334155 !important;
    color: #e2e8f0;
  }

  .group-table input:focus {
    border-color: #1c6fd6 !important;
    box-shadow: 0 0 0 4px rgba(28,111,214,0.25);
  }

  button.btn-primary {
    background: linear-gradient(135deg, #1bb39b, #1c6fd6);
  }
}
