/* =========================================================
   AkaiRift — feuille de style du site statique
   Base + design "Akai" (blanc, monochrome, arrondis, ombres)
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Grand+Hotel&display=swap");

:root {
  --cl-accent: 17, 17, 17;
  --cl-background: 255, 255, 255;
  --cl-card: 255, 255, 255;
  --cl-t-primary: 17, 17, 17;
  --cl-t-accent: 255, 255, 255;

  --r-sm: 10px;
  --r-md: 15px;
  --r-lg: 20px;

  --sh-navbar: 5px 5px 10px rgba(0, 0, 0, 0.3);
  --sh-btn: 5px 5px 8px rgba(0, 0, 0, 0.12);
  --sh-panel: 0 0 20px rgba(0, 0, 0, 0.3);
  --sh-input: 0 0 30px rgba(0, 0, 0, 0.3);
  --sh-card: 0 0 10px rgba(0, 0, 0, 0.15);
  --sh-float: 20px -10px 30px 2px rgba(0, 0, 0, 0.05);
  --sh-review: 10px 10px 20px 10px rgba(0, 0, 0, 0.04);

  --ak-grey-1: #d9d9d9;
  --ak-grey-2: #a6a6a6;
  --ak-ease: 0.5s;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: rgb(var(--cl-t-primary));
  background: rgb(var(--cl-background));
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.wrap {
  max-width: 85rem;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
}

@media (min-width: 1024px) {
  .wrap {
    padding: 2rem;
  }
}

/* -------------------- décor -------------------- */
.ak-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ak-deco span {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

.ak-deco .c1 {
  left: -14%;
  top: 46%;
  width: 41vw;
  height: 41vw;
  background: #5e5e5e;
  opacity: 0.85;
}

.ak-deco .c2 {
  left: 6%;
  top: 62%;
  width: 26vw;
  height: 26vw;
  background: #222222;
  box-shadow: 4px 4px 100px 10px rgba(0, 0, 0, 0.2);
}

.ak-deco .c3 {
  right: -8%;
  top: 4%;
  width: 27vw;
  height: 27vw;
  background: #222222;
}

@media (max-width: 1024px) {
  .ak-deco span {
    opacity: 0.35;
  }
}

/* -------------------- navbar -------------------- */
.navbar {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
}

.ak-navbar-bubble {
  background: #ffffff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-navbar);
  padding: 0 1rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.25rem;
}

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

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--r-sm);
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Grand Hotel", cursive;
  font-size: 1.3rem;
}

.brand h1 {
  font-family: "Grand Hotel", "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links button {
  border-radius: var(--r-md);
  background: #ffffff;
  color: rgb(var(--cl-t-primary));
  box-shadow: var(--sh-btn);
  padding: 0.75rem 1.2rem;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background-color var(--ak-ease), color var(--ak-ease);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links a.active {
  background: rgb(var(--cl-accent));
  color: rgb(var(--cl-t-accent));
}

.nav-links a.cart-link {
  padding: 0.75rem 0.95rem;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 0;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-btn);
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 2px;
  background: #111;
  position: relative;
  transition: transform 0.25s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.9rem;
  }

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

  .nav-links a,
  .nav-links button {
    width: 100%;
    text-align: center;
  }
}

/* -------------------- boutons -------------------- */
.ak-bubble-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--r-md);
  background: #ffffff;
  color: rgb(var(--cl-t-primary));
  box-shadow: var(--sh-btn);
  padding: 0.95rem 1.7rem;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background-color var(--ak-ease), color var(--ak-ease),
    box-shadow 0.25s ease, transform 0.25s ease;
}

.ak-bubble-btn:hover {
  background: rgb(var(--cl-accent));
  color: rgb(var(--cl-t-accent));
  transform: translateY(-2px);
  box-shadow: 5px 8px 14px rgba(0, 0, 0, 0.22);
}

.ak-bubble-btn.full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.ak-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: rgb(var(--cl-t-accent));
  background: rgb(var(--cl-accent));
  border: 1px solid transparent;
  border-radius: var(--r-md);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ak-btn-primary:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 6px 8px 16px rgba(0, 0, 0, 0.3);
}

button:active,
a.ak-bubble-btn:active,
.ak-btn-primary:active {
  transform: scale(0.98);
}

/* -------------------- hero -------------------- */
.hero {
  text-align: center;
  padding: 5rem 1rem 4rem;
}

.hero h1 {
  font-family: "Grand Hotel", "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.1rem;
  }
}

.hero .sub {
  color: rgba(var(--cl-t-primary), 0.6);
  font-size: 1.1rem;
  margin: 0 0 2.5rem;
}

.accent {
  font-weight: 700;
}

.search {
  max-width: 36rem;
  margin: 0 auto;
}

.ak-bubble-card {
  background: #ffffff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.search.ak-bubble-card {
  border-radius: var(--r-sm);
  box-shadow: var(--sh-input);
}

.search-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  color: rgba(var(--cl-t-primary), 0.7);
}

.search-inner input {
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

.hero-btns {
  margin-top: 3rem;
}

/* -------------------- sections -------------------- */
.sec {
  padding: 3rem 0;
}

.sec-head {
  text-align: center;
  margin-bottom: 3rem;
}

.sec-head h2,
.ak-title {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ak-divider {
  height: 3px;
  width: 3.5rem;
  margin: 0.75rem auto 0;
  border-radius: 999px;
  background: rgb(var(--cl-accent));
}

.page-head {
  text-align: center;
  padding: 3.5rem 1rem 1rem;
}

.page-head p {
  color: rgba(var(--cl-t-primary), 0.6);
  max-width: 40rem;
  margin: 0.75rem auto 0;
}

/* -------------------- features -------------------- */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid3,
  .grid4 {
    grid-template-columns: 1fr;
  }
}

.ak-feature-card {
  background: #ffffff;
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--sh-float);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ak-feature-card:nth-child(3n + 1) {
  transform: rotate(-4deg);
}

.ak-feature-card:nth-child(3n + 2) {
  transform: rotate(2deg) translateY(12px);
}

.ak-feature-card:nth-child(3n + 3) {
  transform: rotate(5deg);
}

.ak-feature-card:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 20px -10px 40px 6px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
  .ak-feature-card,
  .ak-feature-card:hover {
    transform: none;
  }
}

.ak-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  font-size: 1.6rem;
  background: rgba(0, 0, 0, 0.05);
}

.ak-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.ak-feature-desc {
  font-size: 0.95rem;
  color: rgba(var(--cl-t-primary), 0.55);
  line-height: 1.6;
  margin: 0;
}

/* -------------------- produits -------------------- */
.prod {
  text-decoration: none;
  color: inherit;
  display: block;
}

.ak-bubble-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.25);
}

.ak-product-head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.9rem 1rem 0.7rem;
  text-align: center;
}

.ak-product-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.ak-product-media {
  background: var(--ak-grey-1);
  border-radius: var(--r-sm);
  margin: 0.75rem 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  color: var(--ak-grey-2);
}

.prod-foot {
  padding: 0 1rem 1rem;
}

.prod-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.muted {
  color: rgba(var(--cl-t-primary), 0.5);
}

.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filters button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--r-md);
  background: #ffffff;
  color: rgb(var(--cl-t-primary));
  box-shadow: var(--sh-btn);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  transition: background-color var(--ak-ease), color var(--ak-ease);
}

.filters button.active,
.filters button:hover {
  background: rgb(var(--cl-accent));
  color: rgb(var(--cl-t-accent));
}

/* -------------------- page produit -------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  padding: 2rem 0 4rem;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.pd-media {
  background: var(--ak-grey-1);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ak-grey-2);
}

.pd-info .ak-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-panel);
  padding: 2rem;
}

.pd-info h1 {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
}

.pd-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.pd-stock {
  color: rgba(var(--cl-t-primary), 0.55);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.pd-desc {
  line-height: 1.7;
  color: rgba(var(--cl-t-primary), 0.75);
  margin: 0 0 1.75rem;
}

.pd-list {
  margin: 0 0 2rem;
  padding-left: 1.2rem;
  line-height: 1.9;
  color: rgba(var(--cl-t-primary), 0.75);
}

.pd-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(var(--cl-t-primary), 0.4);
}

/* -------------------- avis -------------------- */
.ak-feedback-card {
  background: #ffffff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-review);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ak-feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 26px 10px rgba(0, 0, 0, 0.08);
}

.rev-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ak-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--ak-grey-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.stars {
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.ak-feedback-card p {
  color: rgba(var(--cl-t-primary), 0.65);
  margin: 0.9rem 0 0;
  line-height: 1.6;
}

/* -------------------- faq -------------------- */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ak-faq-item {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-card);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.ak-faq-item:hover {
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
}

.ak-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ak-faq-item summary::-webkit-details-marker {
  display: none;
}

.ak-faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.3rem;
}

.ak-faq-item[open] summary::after {
  content: "–";
}

.ak-faq-item .faq-a {
  padding: 0 1.4rem 1.3rem;
  color: rgba(var(--cl-t-primary), 0.65);
  line-height: 1.6;
}

/* -------------------- pages simples (CGV, confidentialité...) -------------------- */
.ak-card.legal {
  max-width: 50rem;
  margin: 0 auto 4rem;
  padding: 2.5rem;
}

.ak-card.legal h2 {
  margin-top: 2rem;
}

.ak-card.legal h2:first-child {
  margin-top: 0;
}

.ak-card.legal p {
  line-height: 1.75;
  color: rgba(var(--cl-t-primary), 0.75);
}

/* -------------------- status -------------------- */
.status-list {
  max-width: 40rem;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-card);
  padding: 1rem 1.4rem;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
}

.status-dot::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #16a34a;
}

/* -------------------- footer -------------------- */
.ak-footer {
  background: #ffffff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 1.75rem 0;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 1.5rem;
}

.foot-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ak-footer-link {
  font-size: 0.8rem;
  color: rgba(var(--cl-t-primary), 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.ak-footer-link:hover {
  color: rgb(var(--cl-t-primary));
}

.ak-footer-copy {
  font-size: 0.8rem;
  color: rgba(var(--cl-t-primary), 0.5);
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.ak-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: rgba(var(--cl-t-primary), 0.75);
  transition: all var(--ak-ease);
}

.ak-social-icon:hover {
  color: rgb(var(--cl-t-accent));
  background: rgb(var(--cl-accent));
  transform: translateY(-2px);
}

/* -------------------- placeholder paiement -------------------- */
.ak-payment-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(var(--cl-t-primary), 0.45);
}


/* -------------------- recherche / filtres -------------------- */
.search-inner input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

.search-inner input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
}

.ak-bubble-card.prod[hidden],
.filters button[hidden] {
  display: none !important;
}

.no-results {
  text-align: center;
  margin: 2rem 0;
  color: rgba(var(--cl-t-primary), 0.6);
}

/* un seul produit : carte centrée */
.grid4:has(> .prod:only-child) {
  grid-template-columns: minmax(0, 22rem);
  justify-content: center;
}

.filters[hidden] {
  display: none !important;
}

/* états de la page Status */
.status-dot.is-down {
  color: #dc2626;
}

.status-dot.is-down::before {
  background: #dc2626;
}

.status-dot.is-unknown {
  color: #6b7280;
}

.status-dot.is-unknown::before {
  background: #9ca3af;
}

.status-checked {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(var(--cl-t-primary), 0.55);
  margin: -2.5rem 0 4rem;
}
