/* =========================
   Variables globales
   ========================= */

:root {
  --color-primary: #102b4f;
  --color-primary-strong: #0b1f39;
  --color-primary-soft: #24486f;
  --color-accent: #f2a322;
  --color-accent-strong: #d98600;
  --color-bg: #f3f6fa;
  --color-bg-alt: #eaf0f6;
  --color-surface: #ffffff;
  --color-surface-soft: rgba(255, 255, 255, 0.9);
  --color-border: #d3dde7;
  --color-text: #182535;
  --color-text-soft: #5c6c7f;
  --color-success: #215d37;
  --color-success-bg: rgba(33, 93, 55, 0.12);
  --color-error: #9a1f1f;
  --color-error-bg: rgba(154, 31, 31, 0.12);
  --shadow-soft: 0 18px 42px rgba(16, 43, 79, 0.1);
  --shadow-card: 0 14px 28px rgba(16, 43, 79, 0.08);
  --shadow-accent: 0 14px 24px rgba(242, 163, 34, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container-width: min(1140px, calc(100% - 2rem));
}

/* =========================
   Reset et base
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(242, 163, 34, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fafd 0%, #ffffff 34%, var(--color-bg) 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* =========================
   Accessibilite
   ========================= */

:focus-visible {
  outline: 3px solid rgba(242, 163, 34, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.85rem 1.05rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary-strong);
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================
   Mise en page generale
   ========================= */

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.header-inner > *,
.hero-grid > *,
.split-layout > *,
.booking-layout > *,
.contact-layout > *,
.cards-grid > *,
.footer-grid > * {
  min-width: 0;
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(16, 43, 79, 0.035), rgba(255, 255, 255, 0.98)),
    var(--color-bg);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.section-heading p {
  margin: 0;
  color: var(--color-text-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--color-primary-soft);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--color-accent);
}

/* =========================
   Header et navigation
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(211, 221, 231, 0.75);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(16, 43, 79, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-card);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: var(--color-primary);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.brand-copy span:last-child {
  color: var(--color-text-soft);
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--color-primary);
  font-weight: 700;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: rgba(16, 43, 79, 0.06);
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: 0.45rem;
  left: 0.8rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  transition: transform 0.2s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.72rem;
  border: 1px solid rgba(16, 43, 79, 0.08);
  border-radius: 1rem;
  background: var(--color-surface);
  box-shadow: 0 8px 16px rgba(16, 43, 79, 0.05);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.34rem 0;
  background: var(--color-primary);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   Boutons
   ========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #1d2129;
  background: linear-gradient(135deg, #f7b444, var(--color-accent-strong));
  box-shadow: var(--shadow-accent);
}

.button-secondary {
  color: var(--color-primary);
  background: var(--color-surface);
  border-color: var(--color-border);
}

.button-ghost {
  color: var(--color-primary);
  background: transparent;
  border-color: rgba(16, 43, 79, 0.18);
}

.button-block {
  width: 100%;
}

/* =========================
   Hero
   ========================= */

.hero {
  padding: 6.4rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0.6rem 0 1rem;
  color: var(--color-primary);
  font-family: "Sora", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 60ch;
  margin: 0;
  font-size: 1.08rem;
  color: var(--color-text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-primary);
  font-weight: 700;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-highlights li::before {
  content: "";
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 0.3rem rgba(242, 163, 34, 0.16);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-card,
.service-card,
.social-card,
.info-card,
.table-card,
.form-card,
.map-card,
.trust-card {
  border: 1px solid rgba(211, 221, 231, 0.88);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
}

.hero-card {
  padding: 1.45rem;
}

.hero-card-highlight {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(16, 43, 79, 0.99), rgba(36, 72, 111, 0.94)),
    var(--color-primary);
}

.hero-card-surface {
  border-style: dashed;
}

.card-label {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.card-value {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.8rem;
}

.card-note {
  margin: 0;
  opacity: 0.94;
}

/* =========================
   Grilles et cartes
   ========================= */

.cards-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.social-card {
  padding: 1.5rem;
}

.service-card h3,
.social-card strong,
.info-card h3,
.table-card h3 {
  margin: 0 0 0.65rem;
  color: var(--color-primary);
  font-size: 1.16rem;
}

.service-card p,
.social-card span:last-child,
.info-card p {
  margin: 0;
  color: var(--color-text-soft);
}

.hero-text,
.section-heading p,
.service-card p,
.social-card span:last-child,
.review-card p,
.info-card p,
.info-card a,
.legal-card p,
.legal-card li,
.footer-links a,
.site-footer p,
.form-message {
  overflow-wrap: anywhere;
}

.card-icon,
.social-badge {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.card-icon {
  color: var(--color-primary);
  background: rgba(16, 43, 79, 0.08);
}

.social-badge {
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(16, 43, 79, 0.12), rgba(242, 163, 34, 0.22));
}

.social-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(242, 163, 34, 0.45);
  box-shadow: var(--shadow-soft);
}

.review-card {
  padding: 1.6rem;
  border: 1px solid rgba(211, 221, 231, 0.88);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.review-card h3 {
  margin: 0 0 0.7rem;
  color: var(--color-primary);
  font-size: 1.08rem;
}

.review-card p {
  margin: 0;
  color: var(--color-text-soft);
}

.review-rating {
  margin-bottom: 0.9rem !important;
  color: var(--color-accent-strong) !important;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.review-source {
  display: inline-flex;
  margin-top: 1rem !important;
  color: var(--color-primary-soft) !important;
  font-size: 0.9rem;
  font-weight: 700;
}

/* =========================
   Sections en colonnes
   ========================= */

.split-layout,
.booking-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.about-copy,
.about-visual,
.zone-copy,
.booking-overview,
.contact-copy {
  display: grid;
  gap: 1rem;
}

/* =========================
   A propos
   ========================= */

.feature-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(211, 221, 231, 0.8);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
}

.feature-list li::before {
  content: "";
  flex: 0 0 0.86rem;
  width: 0.86rem;
  height: 0.86rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
}

.photo-placeholder {
  overflow: hidden;
  min-height: 420px;
  margin: 0;
  border: 1px solid rgba(211, 221, 231, 0.88);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.photo-placeholder img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.photo-placeholder figcaption {
  padding: 1rem 1.15rem 1.2rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  text-align: center;
}

.trust-card {
  padding: 1.35rem;
}

.trust-number {
  margin: 0;
  color: var(--color-primary);
  font-family: "Sora", sans-serif;
  font-size: 2rem;
}

.trust-label {
  margin: 0.35rem 0 0;
  color: var(--color-text-soft);
}

/* =========================
   Zone d'intervention et contact infos
   ========================= */

.zone-list,
.contact-info-grid {
  display: grid;
  gap: 1rem;
}

.contact-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  padding: 1.3rem 1.4rem;
}

.info-card a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.map-card {
  overflow: hidden;
  min-height: 100%;
}

.map-card iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

/* =========================
   Reservation et tableau
   ========================= */

.prototype-note {
  margin: 0.3rem 0 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(242, 163, 34, 0.12);
  color: var(--color-primary);
}

.table-card,
.form-card {
  padding: 1.55rem;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
}

caption {
  padding: 0 0 0.95rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  text-align: left;
  caption-side: top;
}

th,
td {
  padding: 0.95rem 0.8rem;
  border-bottom: 1px solid rgba(211, 221, 231, 0.82);
  text-align: left;
  white-space: nowrap;
}

thead th {
  color: var(--color-primary);
  font-size: 0.9rem;
  background: rgba(16, 43, 79, 0.03);
}

tbody tr:nth-child(even) {
  background: rgba(16, 43, 79, 0.02);
}

td {
  color: var(--color-text-soft);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill.available {
  color: var(--color-success);
  background: var(--color-success-bg);
}

.status-pill.full {
  color: var(--color-error);
  background: var(--color-error-bg);
}

.status-pill.partial {
  color: #935600;
  background: rgba(242, 163, 34, 0.16);
}

/* =========================
   Formulaires
   ========================= */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--color-primary);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.92rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: #fbfcfd;
  color: var(--color-text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-field textarea {
  min-height: 8rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7b8898;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #bcc9d6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(16, 43, 79, 0.44);
  box-shadow: 0 0 0 4px rgba(16, 43, 79, 0.08);
  background: #ffffff;
}

.form-field small {
  color: var(--color-text-soft);
}

.form-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  padding: 0.2rem 0;
  font-weight: 700;
}

.form-message.is-success {
  color: var(--color-success);
}

.form-message.is-error {
  color: var(--color-error);
}

/* =========================
   Footer
   ========================= */

.site-footer {
  padding: 3.5rem 0 1.5rem;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(242, 163, 34, 0.18), transparent 20%),
    linear-gradient(180deg, var(--color-primary), var(--color-primary-strong));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 1.5rem;
}

.site-footer h2 {
  margin: 0 0 0.8rem;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.site-footer p,
.footer-links a {
  margin: 0.3rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* =========================
   Pages legales
   ========================= */

.page-hero {
  padding: 5rem 0 2rem;
}

.page-hero h1 {
  margin: 0.4rem 0 0;
  color: var(--color-primary);
  font-family: "Sora", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.legal-shell {
  display: grid;
  gap: 1.25rem;
}

.legal-card {
  padding: 1.7rem;
  border: 1px solid rgba(211, 221, 231, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.legal-card h2 {
  margin-top: 0;
  color: var(--color-primary);
  font-family: "Sora", sans-serif;
}

.legal-card p,
.legal-card li {
  color: var(--color-text-soft);
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* =========================
   Animations d'apparition
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive desktop compact
   ========================= */

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

/* =========================
   Responsive tablette
   ========================= */

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 1rem;
    left: 1rem;
    max-width: calc(100vw - 2rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem;
    border: 1px solid rgba(211, 221, 231, 0.92);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid,
  .split-layout,
  .booking-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 5.6rem;
  }
}

/* =========================
   Responsive mobile
   ========================= */

@media (max-width: 720px) {
  .section {
    padding: 4.25rem 0;
  }

  .service-grid,
  .social-grid,
  .review-grid,
  .footer-grid,
  .form-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .hero-highlights {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .header-inner {
    min-height: 4.7rem;
  }

  .brand-copy span:last-child {
    display: none;
  }

  .photo-placeholder,
  .map-card iframe {
    min-height: 320px;
  }

  th,
  td {
    padding: 0.82rem 0.7rem;
    white-space: normal;
  }
}

/* =========================
   Mouvements reduits
   ========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
