/* ==========================================================================
   ZEET — Feuille de style unifiée
   Direction artistique : voir .claude/skills/zeet-da/SKILL.md
   ========================================================================== */

/* ========== 1. Tokens ========== */
:root {
  --orange-zeet: #FFA439;
  --orange-zeet-deep: #FF7700;
  --gris-zeet: #5C5C5C;
  --noir-doux: #1C1C1C;
  --blanc: #FFFFFF;
  --transition: all 0.3s ease;
}

[data-theme="light"] {
  --bg-primary: var(--blanc);
  --bg-soft: #FAFAFA;
  --border-soft: rgba(92, 92, 92, 0.15);
  --text-primary: var(--noir-doux);
  --text-secondary: var(--gris-zeet);
  --accent: var(--orange-zeet);
}

[data-theme="dark"] {
  --bg-primary: var(--noir-doux);
  --bg-soft: #262626;
  --border-soft: rgba(255, 255, 255, 0.08);
  --text-primary: var(--blanc);
  --text-secondary: #BBBBBB;
  --accent: var(--orange-zeet);
}

/* ========== 2. Base ========== */
html, body { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.65;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

a { color: var(--orange-zeet); text-decoration: none; }
a:hover { color: var(--orange-zeet-deep); text-decoration: underline; }

.container { max-width: 1140px; padding: 0 24px; }

/* ========== 3. Loader & particles (home only) ========== */
body.loading *:not(.loader-container) { visibility: hidden !important; }
body.loading { overflow: hidden; }

#particles-js {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
}

.loader-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 3.5s ease;
}

.flame-loader {
  width: 100px;
  height: 120px;
  position: relative;
  margin-bottom: 30px;
}

.flame {
  position: absolute;
  bottom: 0;
  width: 100%; height: 100%;
  border-radius: 50% 50% 30% 30%;
  background: linear-gradient(to top, var(--orange-zeet), var(--orange-zeet-deep));
  box-shadow: 0 0 20px 5px rgba(255, 164, 57, 0.5);
  animation: flame 2s infinite;
  transform-origin: center bottom;
}

.flame::before {
  content: "";
  position: absolute;
  top: 50%; left: 25%;
  width: 50%; height: 40%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  filter: blur(10px);
}

@keyframes flame {
  0%, 100% { transform: scaleX(1) scaleY(1); filter: brightness(1); }
  25%      { transform: scaleX(1.1) scaleY(0.9); filter: brightness(1.1); }
  50%      { transform: scaleX(0.9) scaleY(1.1); filter: brightness(0.9); }
  75%      { transform: scaleX(1.05) scaleY(0.95); filter: brightness(1.05); }
}

.loader-text {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1rem;
}

.letter { opacity: 0; animation: fadeIn 0.5s forwards; }
.letter:nth-child(1) { animation-delay: 0.2s; }
.letter:nth-child(2) { animation-delay: 0.4s; }
.letter:nth-child(3) { animation-delay: 0.6s; }
.letter:nth-child(4) { animation-delay: 0.8s; }

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

/* ========== 4. Navbar ========== */
.navbar {
  padding: 1.25rem 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-soft);
  transition: var(--transition);
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  transition: var(--transition);
}
.nav-link:hover { color: var(--orange-zeet); }

.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 1.5rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* ========== 5. Theme switch ========== */
.theme-switch-wrapper { display: flex; align-items: center; }
.theme-switch { display: inline-block; position: relative; width: 50px; height: 24px; }
.theme-switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--gris-zeet);
  transition: var(--transition);
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}
input:checked + .slider { background-color: var(--orange-zeet); }
input:checked + .slider:before { transform: translateX(26px); }

/* ========== 6. Buttons ========== */
.btn-zeet {
  background-color: var(--orange-zeet);
  color: white;
  border: 1px solid var(--orange-zeet);
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}
.btn-zeet:hover {
  background-color: transparent;
  color: var(--orange-zeet);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 164, 57, 0.25);
  text-decoration: none;
}

.btn-zeet-outline {
  background-color: transparent;
  color: var(--orange-zeet);
  border: 1px solid var(--orange-zeet);
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}
.btn-zeet-outline:hover {
  background-color: var(--orange-zeet);
  color: white;
  text-decoration: none;
}

/* ========== 7. Home — Hero ========== */
.hero {
  padding: 6rem 0;
  text-align: center;
}

.logo {
  width: 120px;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.tagline {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* ========== 8. Home — Features ========== */
.features { padding: 5rem 0; }

.feature-icon {
  font-size: 2.5rem;
  color: var(--orange-zeet);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  transition: var(--transition);
}
.feature-item:hover { transform: translateY(-5px); }

.feature-title { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-text { color: var(--text-secondary); font-size: 1.1rem; }

/* ========== 9. Home — Benefits ========== */
.benefits {
  padding: 5rem 0;
  background-color: rgba(255, 164, 57, 0.03);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.benefit-item {
  display: flex;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 10px;
  transition: var(--transition);
}
.benefit-item:hover { background-color: rgba(255, 164, 57, 0.05); }

.benefit-icon {
  font-size: 1.8rem;
  color: var(--orange-zeet);
  margin-right: 1.5rem;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.benefit-text p { color: var(--text-secondary); }

/* ========== 10. Home — Zones ========== */
.zones { padding: 5rem 0; text-align: center; }

.zone-list {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.zone-item {
  background-color: rgba(255, 164, 57, 0.1);
  color: var(--text-primary);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
}
.zone-item:hover {
  background-color: var(--orange-zeet);
  color: white;
  transform: scale(1.05);
}

/* ========== 11. Home — FAQ section wrap ========== */
.faq {
  padding: 5rem 0;
  background-color: rgba(255, 164, 57, 0.03);
}

/* ========== 12. Accordion (shared) ========== */
.accordion { max-width: 820px; margin: 0 auto; }

.accordion-item {
  border: none;
  background-color: transparent;
  margin-bottom: 0.75rem;
}

.accordion-button {
  background-color: var(--bg-soft);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 10px !important;
  box-shadow: none;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background-color: var(--orange-zeet);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 164, 57, 0.2);
}
.accordion-button:focus { box-shadow: none; border: none; }

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFA439'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  border-radius: 0 0 10px 10px;
  background-color: var(--bg-soft);
}

/* ========== 13. Home — CTA band ========== */
.cta {
  padding: 7rem 0;
  text-align: center;
  background: linear-gradient(rgba(255, 255, 255, 0.01), rgba(255, 164, 57, 0.05));
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== 14. Legal / subpage hero & content ========== */
.legal-hero {
  padding: 4rem 0 2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 3rem;
}

.legal-hero .kicker,
.kicker {
  display: inline-block;
  background: rgba(255, 164, 57, 0.12);
  color: var(--orange-zeet);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}
.legal-hero .meta { color: var(--text-secondary); font-size: 0.95rem; }

.legal-content {
  max-width: 820px;
  margin: 0 auto 5rem;
  padding: 0 24px;
}
.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--orange-zeet);
}
.legal-content p, .legal-content li { color: var(--text-primary); font-size: 1.02rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-content li { margin-bottom: 0.4rem; }

.legal-content .callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--orange-zeet);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.95rem;
}
.legal-content th, .legal-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.legal-content th { background: var(--bg-soft); font-weight: 600; color: var(--text-primary); }

.toc {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.toc h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.toc ol { padding-left: 1.25rem; margin: 0; columns: 2; column-gap: 2rem; }
.toc ol li { margin-bottom: 0.3rem; }
.toc a { color: var(--text-primary); }
.toc a:hover { color: var(--orange-zeet); text-decoration: none; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ========== 15. Forms ========== */
.form-card {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid var(--border-soft);
}
.form-label { font-weight: 500; color: var(--text-primary); }
.form-control, .form-select {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 0.7rem 0.95rem;
}
.form-control:focus, .form-select:focus {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--orange-zeet);
  box-shadow: 0 0 0 0.2rem rgba(255, 164, 57, 0.2);
}
.form-check-input:checked { background-color: var(--orange-zeet); border-color: var(--orange-zeet); }

/* ========== 16. App landing sections ========== */
.hero-app { padding: 5rem 0 4rem; text-align: center; }
.hero-app h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); margin-bottom: 1rem; }
.hero-app .lead {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.store-badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--noir-doux);
  color: white;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
[data-theme="dark"] .store-badge { background: var(--blanc); color: var(--noir-doux); }
.store-badge:hover { transform: translateY(-2px); color: white; text-decoration: none; }
[data-theme="dark"] .store-badge:hover { color: var(--noir-doux); }
.store-badge i { font-size: 1.6rem; }
.store-badge small { display: block; font-size: 0.7rem; opacity: 0.75; }
.store-badge strong { display: block; font-size: 1rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0;
}

.feature-card {
  background: var(--bg-soft);
  padding: 2rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(255, 164, 57, 0.1); }
.feature-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 164, 57, 0.12);
  color: var(--orange-zeet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); margin: 0; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.stat-item .num { font-size: 2.25rem; font-weight: 700; color: var(--orange-zeet); }
.stat-item .label { color: var(--text-secondary); font-size: 0.95rem; }

.cta-band {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 164, 57, 0.08), rgba(255, 164, 57, 0.02));
  border-top: 1px solid var(--border-soft);
  margin-top: 3rem;
}
.cta-band h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.cta-band p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.1rem; }

/* ========== 17. Footer (unified) ========== */
footer.site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-soft);
  padding: 3.5rem 0 2rem;
}
.site-footer h6 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul a { color: var(--text-secondary); font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--orange-zeet); text-decoration: none; }
.site-footer .brand-block img { width: 60px; height: 60px; }
.site-footer .brand-block p { color: var(--text-secondary); font-size: 0.95rem; }
.site-footer .socials { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.site-footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  transition: var(--transition);
}
.site-footer .socials a:hover {
  background: var(--orange-zeet);
  color: white;
  border-color: var(--orange-zeet);
}
.site-footer .contact-block a { color: var(--text-secondary); }
.site-footer .contact-block a:hover { color: var(--orange-zeet); text-decoration: none; }
.site-footer .footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.site-footer .footer-bottom a { color: var(--text-secondary); }

/* ========== 18. Cookie banner ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  padding: 1.25rem;
  z-index: 1030;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 260px; color: var(--text-primary); font-size: 0.95rem; }
.cookie-banner .actions { display: flex; gap: 0.5rem; }
.cookie-banner .btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; border-radius: 8px; }

/* ========== 19. Status pill ========== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(30, 190, 90, 0.12);
  color: #1abd5a;
}

/* ========== 20. Responsive ========== */
@media (max-width: 768px) {
  .tagline { font-size: 2rem; }
  .feature-item { margin-bottom: 2rem; }
  .cta-title { font-size: 2rem; }
  .legal-hero { padding: 2.5rem 0 1.5rem; margin-bottom: 2rem; }
  .legal-content h2 { font-size: 1.35rem; margin-top: 2rem; }
}
