@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fdfcf6;
  --surface: #ffffff;
  --muted: #4f6572;
  --text: #1f2a32;
  --yellow: #f9d65c;
  --green: #59c17a;
  --blue: #6ec1e4;
  --accent: linear-gradient(120deg, var(--yellow), var(--green));
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --space: 16px;
  --max-width: 1180px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 20px var(--space) 32px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(253, 252, 246, 0.9);
  border-bottom: 1px solid #e8edf2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: var(--transition);
  cursor: pointer;
}

.logo:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.menu {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  padding: 10px 12px;
  border-radius: 10px;
  transition: var(--transition);
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover,
.menu a.active {
  background: #f1f7fb;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #0f1a1f;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid #dfe6ed;
  color: var(--text);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #dfe6ed;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 12px var(--space) 18px;
  box-shadow: var(--shadow);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.mobile-menu.open {
  display: grid;
  gap: 10px;
}

.hero {
  margin-top: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(249, 214, 92, 0.16), rgba(110, 193, 228, 0.16));
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.7), transparent 36%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.5), transparent 30%);
  pointer-events: none;
  animation: floatBg 6s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
}

.hero p {
  max-width: 720px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section {
  margin-top: 26px;
  padding: 22px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  animation: fadeUp 260ms ease;
}

.split {
  display: grid;
  gap: 24px;
  align-items: start;
  grid-template-columns: 400px 1fr;
}

.split img {
  width: 100%;
  height: auto;
  object-fit: cover;
  align-self: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid #e3e8ed;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fbff;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  padding: 0 14px;
  color: var(--muted);
}

.accordion-item.open .accordion-body {
  padding: 10px 14px 14px;
}

.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.card {
  background: #f8fbff;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e3e8ed;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
}

.card > *:not(img) {
  flex: 1;
}

.card:hover {
  transform: translateY(-4px);
}

.progress {
  width: 100%;
  height: 12px;
  background: #eef3f7;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  animation: grow 1.2s ease;
}

.footer {
  margin-top: auto;
  padding: 22px var(--space);
  background: #0f1a1f;
  color: #eef3f7;
}

.footer .footer-top {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer a {
  color: #eef3f7;
  font-weight: 600;
}

.footer small {
  color: #b8c6d1;
}

.footer-bottom {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.google-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #000;
  border: 1px solid #666;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.google-play-btn:hover {
  transform: translateY(-2px);
}

.google-play-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-play-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.google-play-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.google-play-get {
  font-size: 10px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.google-play-name {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

.cookie-popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cookie-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-card {
  width: min(90%, 420px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-wrapper iframe {
  width: 100%;
  min-height: 260px;
  border: none;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.merci {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes grow {
  from { width: 0; }
  to { width: var(--progress, 60%); }
}

@keyframes floatBg {
  from { transform: translateY(0); }
  to { transform: translateY(12px); }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: min(90%, 700px);
  max-width: 100%;
  max-height: 85vh;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e3e8ed;
  position: relative;
  box-sizing: border-box;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  word-wrap: break-word;
  max-width: 100%;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 1;
}

.modal-close:hover {
  background: #f1f7fb;
  color: var(--text);
}

.modal-body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.8;
  word-wrap: break-word;
  box-sizing: border-box;
}

.modal-body h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--text);
  word-wrap: break-word;
  max-width: 100%;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 16px;
  color: var(--muted);
  word-wrap: break-word;
  max-width: 100%;
}

.modal-body ul, .modal-body ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--muted);
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.modal-body li {
  margin-bottom: 8px;
  word-wrap: break-word;
  max-width: 100%;
}

.modal-body * {
  max-width: 100%;
  box-sizing: border-box;
}

.footer-links a {
  cursor: pointer;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .menu { display: none; }
  .burger { display: inline-flex; }
  
  .modal {
    padding: 0;
  }
  
  .modal-content {
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    padding: 20px;
    border-radius: 0;
    margin: 0;
  }
  
  .modal-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  
  .modal-header h2 {
    font-size: 20px;
    padding-right: 40px;
  }
  
  .modal-body {
    padding-right: 0;
  }
  
  .modal-body h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .modal-body p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .modal-body ul, .modal-body ol {
    padding-left: 20px;
    margin: 12px 0;
  }
}


